Skip to content
Success

Console Output

Started by GitHub push by iYeremy
Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Slave2 in /home/cecaduser/workspace/MP_202610_G81_E1_Back
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
using credential josejbocanegra
Cloning the remote Git repository
Cloning repository https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back
 > git init /home/cecaduser/workspace/MP_202610_G81_E1_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
using GIT_ASKPASS to set credentials 
 > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 1461a5c96b764c98a56c6175e2e1e1caa761e273 (refs/remotes/origin/main)
Commit message: "Merge pull request #44 from UDFJDC-ModelosProgramacion/develop"
 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1461a5c96b764c98a56c6175e2e1e1caa761e273 # timeout=10
 > git rev-list --no-walk 983564dc25d05f6f1b82260fe0672e134fe895a2 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withCredentials
Masking supported pattern matches of $SONAR_TOKEN
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Checkout)
[Pipeline] scmSkip
SCM Skip: Pattern .*\[ci-skip\].* NOT matched on message: test: add more ShelterTest

[Pipeline] git
Selected Git installation does not exist. Using Default
The recommended git tool is: NONE
Warning: CredentialId "c0e8826e-5e2c-4c1c-a484-6c17d53ac539" could not be found.
Fetching changes from the remote Git repository
Checking out Revision 1461a5c96b764c98a56c6175e2e1e1caa761e273 (refs/remotes/origin/main)
Commit message: "Merge pull request #44 from UDFJDC-ModelosProgramacion/develop"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
 > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202610_G81_E1_Back/.git # timeout=10
 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 1461a5c96b764c98a56c6175e2e1e1caa761e273 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b main 1461a5c96b764c98a56c6175e2e1e1caa761e273 # timeout=10
Slave2 does not seem to be running inside a container
$ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E1_Back -v /home/cecaduser/workspace/MP_202610_G81_E1_Back:/home/cecaduser/workspace/MP_202610_G81_E1_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat
$ docker top c231a993ba533cbec7d64956b08e39970e158410a65f1e64e03eb808a1b353c1 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ java -version
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
+ mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E1_Back >-------------
[INFO] Building MP_202610_G81_E1_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.4.1:clean (default-clean) @ MP_202610_G81_E1_Back ---
[INFO] 
[INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E1_Back ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E1_Back ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.14.1:compile (default-compile) @ MP_202610_G81_E1_Back ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 60 source files with javac [debug parameters release 21] to target/classes
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E1_Back ---
[INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E1_Back/src/test/resources
[INFO] 
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E1_Back ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 7 source files with javac [debug parameters release 21] to target/test-classes
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ MP_202610_G81_E1_Back ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest
21:34:21.914 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
21:34:22.166 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:22.962Z  INFO 92 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Starting AdopterServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:22.971Z  INFO 92 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:23.728Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:23.890Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 145 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:24.019Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:24.170Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e774b513-99b4-45e9-8dc9-dcc570c28665;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:24.890Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:25.001Z  INFO 92 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.41.Final
2026-03-21T21:34:25.066Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:25.644Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:25.736Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:25.785Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@8eb1297']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:28.117Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:28.274Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:29.261Z  INFO 92 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Started AdopterServiceTest in 6.942 seconds (process running for 8.896)
Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
WARNING: A Java agent has been loaded dynamically (/root/.m2/repository/net/bytebuddy/byte-buddy-agent/1.17.8/byte-buddy-agent-1.17.8.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.312Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Updating adopter with id = 1
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.350Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:30.400Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 8
2026-03-21T21:34:30.419Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Attempted to delete adopter 8 with adoption records
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.444Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.486Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.505Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Updating adopter with id = 19
2026-03-21T21:34:30.505Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 19
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.649Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Updating adopter with id = 999
2026-03-21T21:34:30.649Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 999
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.673Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: nuevo_adopter@test.com
2026-03-21T21:34:30.674Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: nuevo_adopter@test.com
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.721Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 32
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.749Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:30.767Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 999
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:30.812Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 44
2026-03-21T21:34:30.813Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Attempted to delete adopter 44 with active adoption requests
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.235 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
2026-03-21T21:34:30.824Z  INFO 92 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:34:30.832Z  INFO 92 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:30.865Z  INFO 92 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Starting AdoptionServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:30.865Z  INFO 92 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:30.975Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:31.002Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:31.027Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:31.044Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:5f9551be-b70b-449f-bfdf-0c90347f6fe3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:31.067Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:31.069Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:31.077Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:31.079Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:31.079Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@749d2498']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:31.262Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:31.322Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:31.556Z  INFO 92 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Started AdoptionServiceTest in 0.72 seconds (process running for 11.191)
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.574Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting update process for adoption with id = 1
2026-03-21T21:34:31.575Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption with id = 1 updated successfully
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.588Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting process to consult all adoptions
Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.adoption_date,ae1_0.pet_id,ae1_0.status from adoption_entity ae1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.604Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting creation process for adoption
2026-03-21T21:34:31.604Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption created successfully
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.617Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting update process for adoption with id = 999
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone,a1_0.has_children,a1_0.has_other_pets,a1_0.housing_type,ae1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,ae1_0.status,tc1_0.id,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join trial_cohabitation_entity tc1_0 on ae1_0.id=tc1_0.adoption_id where ae1_0.id=?
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_follow_up_entity (adoption_id,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,default)
2026-03-21T21:34:31.638Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting deletion process for adoption ID: 14
2026-03-21T21:34:31.639Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Attempted to delete adoption 14 but it has follow-ups
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.652Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting creation process for adoption
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.663Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting process to consult adoption with id = 999
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone,a1_0.has_children,a1_0.has_other_pets,a1_0.housing_type,ae1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,ae1_0.status,tc1_0.id,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join trial_cohabitation_entity tc1_0 on ae1_0.id=tc1_0.adoption_id where ae1_0.id=?
2026-03-21T21:34:31.665Z ERROR 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption with id 999 not found
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.678Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting deletion process for adoption ID: 23
2026-03-21T21:34:31.679Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption with ID: 23 deleted successfully
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.693Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting process to consult adoption with id = 26
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.705Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting deletion process for adoption ID: 999
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone,a1_0.has_children,a1_0.has_other_pets,a1_0.housing_type,ae1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,ae1_0.status,tc1_0.id,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join trial_cohabitation_entity tc1_0 on ae1_0.id=tc1_0.adoption_id where ae1_0.id=?
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:31.718Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting update process for adoption with id = 32
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.899 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest
2026-03-21T21:34:31.725Z  INFO 92 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:34:31.734Z  INFO 92 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:31.763Z  INFO 92 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Starting ShelterServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:31.763Z  INFO 92 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:31.839Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:31.865Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:31.887Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:31.902Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:ca08484b-c7af-4c8e-b495-7dcd647d7f99;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:31.923Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:31.925Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:31.934Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:31.935Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:31.936Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4125fa08']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:32.096Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:32.170Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:32.363Z  INFO 92 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Started ShelterServiceTest in 0.624 seconds (process running for 11.997)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.385Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters containing name: Unique
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where upper(se1_0.name) like upper(?) escape '\'
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.410Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting process to consult shelter with id = 5
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.424Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 8
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
2026-03-21T21:34:32.432Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with id = 8 updated successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.463Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: 8dIv0gLQQD
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.487Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 14
2026-03-21T21:34:32.489Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 14 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.502Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: nVmTfQAlKH
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.515Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 999
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:32.534Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 26
2026-03-21T21:34:32.535Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 26 but it has active events
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:32.549Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 27
2026-03-21T21:34:32.550Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 27 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.561Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting process to consult shelter with id = 999
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where se1_0.id=?
2026-03-21T21:34:32.562Z ERROR 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with id 999 not found
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.585Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 36
2026-03-21T21:34:32.586Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 36 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.598Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: P0QmQzeYpR
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.610Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 42
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.624Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 45
2026-03-21T21:34:32.625Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 45 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.642Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 999
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:32.661Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 51
2026-03-21T21:34:32.662Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 51 but it has active events
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.674Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: nac3RRXVzz
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.686Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter:    
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:32.720Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 60
2026-03-21T21:34:32.720Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 60 but it has pets
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.733Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: Shelter 0
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.746Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters containing name: NonExistentName
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where upper(se1_0.name) like upper(?) escape '\'
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.760Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: EEF_MO5vRa
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.772Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: 40dI7KnICe
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.783Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting process to consult all shelters
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:32.798Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 78
2026-03-21T21:34:32.799Z  WARN 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 78 but it has active events
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.810Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: fqI9bZy9ko
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.826Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: null
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.838Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 87
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.851Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: New Unique Shelter
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
2026-03-21T21:34:32.855Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter created successfully: New Unique Shelter
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:34:32.871Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 94
2026-03-21T21:34:32.872Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 94 deleted successfully
[INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.151 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest
2026-03-21T21:34:32.878Z  INFO 92 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:34:32.885Z  INFO 92 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:32.921Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Starting PetServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:32.922Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:32.990Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:33.012Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:33.033Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:33.045Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:264c5b98-4854-4536-b6ea-227efb14be2e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:33.065Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:33.066Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:33.074Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:33.076Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:33.076Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@38eef9f3']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:33.223Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:33.264Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:33.445Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Started PetServiceTest in 0.557 seconds (process running for 13.079)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.465Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 1
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.480Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 999
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.496Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Firulais
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (description,pet_id,id) values (?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:33.514Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 11
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:33.530Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 15
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.545Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 17
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.576Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: null
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.590Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: b0zffSScF5
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.604Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Budy
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (description,pet_id,id) values (?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.621Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: kAjYSlLsGr
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.636Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: WYg_3trpRN
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.650Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Processing return for pet with id = 39
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.666Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: vrqMkgglMW
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.693Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 48
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.707Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 53
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:34:33.731Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 54
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.756Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 57
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.773Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 60
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.792Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: FeqR1smPI8
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.810Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: hK_XyLa4Eu
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.829Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: null
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.847Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: LI_8IIy_s0
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.886Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Lp624hfvew
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:33.907Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 81
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:34:33.924Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Processing return for pet with id = 84
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:33.942Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 87
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.957Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: TIK6k74vJQ
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.971Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: daD_I_b8Wm
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.986Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: NWL8UiHDCn
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:33.999Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: wT5rTpPSvc
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (description,pet_id,id) values (?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.014Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 103
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.033Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: PAQBVI07cI
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.047Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 109
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.062Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 112
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.078Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: wqDpVpUlJe
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:34.091Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 119
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.104Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Processing return for pet with id = 999
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.118Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 999
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.131Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 127
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.145Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 131
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.159Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 133
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:34:34.175Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 136
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.188Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: bw6PMbgEJc
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:34.201Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 142
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.222Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: g2iVdIfH8T
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:34:34.235Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: lbZ3nEb_Vz
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:34:34.249Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 151
[INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.376 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
2026-03-21T21:34:34.255Z  INFO 92 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:34:34.257Z  INFO 92 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:34.276Z  INFO 92 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Starting VeterinarianServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:34.277Z  INFO 92 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:34.346Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:34.368Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:34.386Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:34.398Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:3d5ab6ac-a025-4cca-b263-65ff123ad4f4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:34.415Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:34.417Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:34.425Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:34.426Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:34.426Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2b317aa0']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:34.556Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:34.593Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:34.745Z  INFO 92 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Started VeterinarianServiceTest in 0.485 seconds (process running for 14.379)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into medical_event_entity (diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:34.765Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 1
2026-03-21T21:34:34.767Z  WARN 92 --- [           main] c.e.u.m.p.services.VeterinarianService   : Attempted to delete veterinarian 1 with medical history records
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
2026-03-21T21:34:34.779Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 4
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
2026-03-21T21:34:34.792Z  INFO 92 --- [           main] c.e.u.m.p.services.VeterinarianService   : Starting creation process for veterinarian: nuevo_vet@test.com
2026-03-21T21:34:34.792Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: nuevo_vet@test.com
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into adoption_follow_up_entity (adoption_id,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,default)
2026-03-21T21:34:34.810Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 12
2026-03-21T21:34:34.811Z  WARN 92 --- [           main] c.e.u.m.p.services.VeterinarianService   : Attempted to delete veterinarian 12 with active adoption follow-ups
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
2026-03-21T21:34:34.823Z  INFO 92 --- [           main] c.e.u.m.p.services.VeterinarianService   : Starting creation process for veterinarian: ulRUT_iQJ_
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.573 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest
2026-03-21T21:34:34.829Z  INFO 92 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:34:34.831Z  INFO 92 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.UserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:34.850Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Starting UserServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:34.850Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:34.911Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:34.932Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:34.948Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:34.960Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:41570a8a-250a-4141-a887-325ed0e33cae;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:34.977Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:34.978Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:34.987Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:34.988Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:34.989Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4fc12922']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:35.132Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:35.167Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:35.310Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Started UserServiceTest in 0.476 seconds (process running for 14.944)
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.343Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 4
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.367Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 10
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.379Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 13
Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.476Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: nuevo@correo.com
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:35.491Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 23
Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.503Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: correo-sin-arroba.com
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.512Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: RU8Kv4wm9F
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:34:35.521Z  INFO 92 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: user0@test.com
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.696 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
2026-03-21T21:34:35.526Z  INFO 92 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest]: TrialCohabitationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:34:35.533Z  INFO 92 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:35.551Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:35.552Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:35.613Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:35.633Z  INFO 92 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:35.649Z  INFO 92 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:35.660Z  INFO 92 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:5a53c89e-a30d-4086-82cc-a595bde78dde;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:35.676Z  INFO 92 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:35.677Z  INFO 92 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:35.685Z  INFO 92 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:35.686Z  WARN 92 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:35.686Z  INFO 92 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2c06f84e']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:35.804Z  INFO 92 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:35.838Z  INFO 92 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:36.003Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.468 seconds (process running for 15.638)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.015Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.024Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting process to consult trial cohabitation with id = 999
Hibernate: select tce1_0.id,a1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone,a2_0.has_children,a2_0.has_other_pets,a2_0.housing_type,a1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,a1_0.status,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0 left join adoption_entity a1_0 on a1_0.id=tce1_0.adoption_id left join adopter_entity a2_0 on a2_0.id=a1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=a1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where tce1_0.id=?
2026-03-21T21:34:36.027Z ERROR 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation with id 999 not found
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.036Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.045Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 999
Hibernate: select tce1_0.id,a1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone,a2_0.has_children,a2_0.has_other_pets,a2_0.housing_type,a1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,a1_0.status,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0 left join adoption_entity a1_0 on a1_0.id=tce1_0.adoption_id left join adopter_entity a2_0 on a2_0.id=a1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=a1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where tce1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.054Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting deletion process for trial cohabitation ID: 13
2026-03-21T21:34:36.056Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation with ID: 13 deleted successfully
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.066Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 19
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.076Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting process to consult all trial cohabitations
Hibernate: select tce1_0.id,tce1_0.adoption_id,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.087Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.095Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.102Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 29
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.112Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
2026-03-21T21:34:36.112Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation created successfully
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.122Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting deletion process for trial cohabitation ID: 39
2026-03-21T21:34:36.123Z  WARN 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Attempted to delete trial cohabitation 39 but it is in progress
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.131Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting process to consult trial cohabitation with id = 40
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.139Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting deletion process for trial cohabitation ID: 999
Hibernate: select tce1_0.id,a1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone,a2_0.has_children,a2_0.has_other_pets,a2_0.housing_type,a1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,a1_0.status,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0 left join adoption_entity a1_0 on a1_0.id=tce1_0.adoption_id left join adopter_entity a2_0 on a2_0.id=a1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=a1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where tce1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.147Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
2026-03-21T21:34:36.147Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation created successfully
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:34:36.156Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 50
2026-03-21T21:34:36.156Z  INFO 92 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation with id = 50 updated successfully
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.633 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 138, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ MP_202610_G81_E1_Back ---
[INFO] Building jar: /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot:3.5.10:repackage (repackage) @ MP_202610_G81_E1_Back ---
[INFO] Replacing main artifact /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] The original artifact has been renamed to /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar.original
[INFO] 
[INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202610_G81_E1_Back ---
[INFO] Loading execution data file /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/jacoco.exec
[INFO] Analyzed bundle 'MP_202610_G81_E1_Back' with 21 classes
[INFO] 
[INFO] --- spring-boot:3.5.10:start (pre-integration-test) @ MP_202610_G81_E1_Back ---
[INFO] Attaching agents: []

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:38.855Z  INFO 171 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : Starting MainApplication using Java 21.0.4 with PID 171 (/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/classes started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:38.860Z  INFO 171 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : The following 1 profile is active: "integration-tests"
2026-03-21T21:34:39.691Z  INFO 171 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:39.825Z  INFO 171 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 114 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:40.404Z  INFO 171 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8999 (http)
2026-03-21T21:34:40.419Z  INFO 171 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-03-21T21:34:40.420Z  INFO 171 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.50]
2026-03-21T21:34:40.470Z  INFO 171 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/api]    : Initializing Spring embedded WebApplicationContext
2026-03-21T21:34:40.470Z  INFO 171 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1567 ms
2026-03-21T21:34:40.664Z  INFO 171 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:40.710Z  INFO 171 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.41.Final
2026-03-21T21:34:40.753Z  INFO 171 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:41.046Z  INFO 171 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:41.077Z  INFO 171 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2026-03-21T21:34:41.264Z  INFO 171 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:pets user=SA
2026-03-21T21:34:41.266Z  INFO 171 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2026-03-21T21:34:41.291Z  WARN 171 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:41.312Z  INFO 171 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-03-21T21:34:42.616Z  INFO 171 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-03-21T21:34:42.726Z  INFO 171 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:43.701Z  INFO 171 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-03-21T21:34:43.780Z  INFO 171 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8999 (http) with context path '/api'
2026-03-21T21:34:43.789Z  INFO 171 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : Started MainApplication in 5.422 seconds (process running for 6.107)
[INFO] 
[INFO] --- exec:1.6.0:exec (combine-collection) @ MP_202610_G81_E1_Back ---
Collection 'Default Tests' was successfully added.
Combined collection is saved to 'it/composed.collection.json'
[INFO] 
[INFO] --- spring-boot:3.5.10:stop (post-integration-test) @ MP_202610_G81_E1_Back ---
[INFO] Stopping application...
2026-03-21T21:34:44.386Z  INFO 171 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
2026-03-21T21:34:44.389Z  INFO 171 --- [on(2)-127.0.0.1] o.s.b.w.e.tomcat.GracefulShutdown        : Commencing graceful shutdown. Waiting for active requests to complete
2026-03-21T21:34:44.394Z  INFO 171 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown        : Graceful shutdown complete
2026-03-21T21:34:44.399Z  INFO 171 --- [on(2)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:44.417Z  INFO 171 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2026-03-21T21:34:44.420Z  INFO 171 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
[INFO] 
[INFO] --- install:3.1.4:install (default-install) @ MP_202610_G81_E1_Back ---
[INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E1_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E1_Back/0.0.1-SNAPSHOT/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.pom
[INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E1_Back/0.0.1-SNAPSHOT/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  29.565 s
[INFO] Finished at: 2026-03-21T21:34:44Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 c231a993ba533cbec7d64956b08e39970e158410a65f1e64e03eb808a1b353c1
$ docker rm -f --volumes c231a993ba533cbec7d64956b08e39970e158410a65f1e64e03eb808a1b353c1
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Testing)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Slave2 does not seem to be running inside a container
$ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E1_Back -v /home/cecaduser/workspace/MP_202610_G81_E1_Back:/home/cecaduser/workspace/MP_202610_G81_E1_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat
$ docker top 450b8b6cd72469319b6b81229b32ca970f4c77eda4cacae0533c2ed637aa982a -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ mvn test
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E1_Back >-------------
[INFO] Building MP_202610_G81_E1_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E1_Back ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E1_Back ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.14.1:compile (default-compile) @ MP_202610_G81_E1_Back ---
[INFO] Nothing to compile - all classes are up to date.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E1_Back ---
[INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E1_Back/src/test/resources
[INFO] 
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E1_Back ---
[INFO] Nothing to compile - all classes are up to date.
[INFO] 
[INFO] --- surefire:3.2.5:test (default-test) @ MP_202610_G81_E1_Back ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest
21:34:51.497 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
21:34:51.751 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:34:52.611Z  INFO 71 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Starting AdopterServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:34:52.614Z  INFO 71 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:34:53.272Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:34:53.424Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 135 ms. Found 19 JPA repository interfaces.
2026-03-21T21:34:53.539Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:34:53.689Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e3215a8c-9a8e-4232-8c26-83386154a5f7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:34:54.388Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:34:54.489Z  INFO 71 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.41.Final
2026-03-21T21:34:54.553Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:34:55.101Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:34:55.207Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:34:55.253Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@8eb1297']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:34:57.600Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:34:57.766Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:34:58.716Z  INFO 71 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Started AdopterServiceTest in 6.811 seconds (process running for 8.784)
Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
WARNING: A Java agent has been loaded dynamically (/root/.m2/repository/net/bytebuddy/byte-buddy-agent/1.17.8/byte-buddy-agent-1.17.8.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:59.772Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Updating adopter with id = 1
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:59.815Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:34:59.866Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 8
2026-03-21T21:34:59.899Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Attempted to delete adopter 8 with adoption records
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:59.923Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:59.973Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:34:59.995Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Updating adopter with id = 19
2026-03-21T21:34:59.995Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 19
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:35:00.115Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Updating adopter with id = 999
2026-03-21T21:35:00.115Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 999
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:35:00.140Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: nuevo_adopter@test.com
2026-03-21T21:35:00.140Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: nuevo_adopter@test.com
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:35:00.189Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 32
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:35:00.215Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Starting creation process for adopter: test@test.com
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
2026-03-21T21:35:00.234Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 999
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:00.282Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 44
2026-03-21T21:35:00.283Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Attempted to delete adopter 44 with active adoption requests
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.132 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
2026-03-21T21:35:00.296Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:35:00.304Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:35:00.344Z  INFO 71 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Starting AdoptionServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:35:00.344Z  INFO 71 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:35:00.472Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:35:00.499Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 19 JPA repository interfaces.
2026-03-21T21:35:00.526Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:35:00.543Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e8527e90-1ec3-4d48-88d1-1fd7694d995c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:35:00.567Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:35:00.569Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:35:00.578Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:35:00.579Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:35:00.580Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@397e533e']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:35:00.785Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:35:00.853Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:35:01.101Z  INFO 71 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Started AdoptionServiceTest in 0.793 seconds (process running for 11.169)
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.119Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting update process for adoption with id = 1
2026-03-21T21:35:01.120Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption with id = 1 updated successfully
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.134Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting process to consult all adoptions
Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.adoption_date,ae1_0.pet_id,ae1_0.status from adoption_entity ae1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.151Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting creation process for adoption
2026-03-21T21:35:01.152Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption created successfully
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.165Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting update process for adoption with id = 999
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone,a1_0.has_children,a1_0.has_other_pets,a1_0.housing_type,ae1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,ae1_0.status,tc1_0.id,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join trial_cohabitation_entity tc1_0 on ae1_0.id=tc1_0.adoption_id where ae1_0.id=?
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_follow_up_entity (adoption_id,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,default)
2026-03-21T21:35:01.186Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting deletion process for adoption ID: 14
2026-03-21T21:35:01.187Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Attempted to delete adoption 14 but it has follow-ups
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.199Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting creation process for adoption
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.210Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting process to consult adoption with id = 999
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone,a1_0.has_children,a1_0.has_other_pets,a1_0.housing_type,ae1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,ae1_0.status,tc1_0.id,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join trial_cohabitation_entity tc1_0 on ae1_0.id=tc1_0.adoption_id where ae1_0.id=?
2026-03-21T21:35:01.212Z ERROR 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption with id 999 not found
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.223Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting deletion process for adoption ID: 23
2026-03-21T21:35:01.225Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Adoption with ID: 23 deleted successfully
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.236Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting process to consult adoption with id = 26
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.247Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting deletion process for adoption ID: 999
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone,a1_0.has_children,a1_0.has_other_pets,a1_0.housing_type,ae1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,ae1_0.status,tc1_0.id,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join trial_cohabitation_entity tc1_0 on ae1_0.id=tc1_0.adoption_id where ae1_0.id=?
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:01.261Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Starting update process for adoption with id = 32
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.971 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest
2026-03-21T21:35:01.268Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:35:01.275Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:35:01.300Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Starting ShelterServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:35:01.301Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:35:01.383Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:35:01.406Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 19 JPA repository interfaces.
2026-03-21T21:35:01.427Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:35:01.442Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:a925426c-5842-406f-a3b8-e74ffeeecc86;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:35:01.464Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:35:01.466Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:35:01.474Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:35:01.475Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:35:01.476Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3f376ff4']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:35:01.632Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:35:01.685Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:35:01.891Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Started ShelterServiceTest in 0.613 seconds (process running for 11.958)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:01.912Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters containing name: Unique
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where upper(se1_0.name) like upper(?) escape '\'
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:01.939Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting process to consult shelter with id = 5
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:01.953Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 8
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
2026-03-21T21:35:01.961Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with id = 8 updated successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:01.975Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: YvqSx1L8nZ
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.001Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 14
2026-03-21T21:35:02.003Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 14 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.016Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: i7T26pVsUq
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.028Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 999
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:02.048Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 26
2026-03-21T21:35:02.049Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 26 but it has active events
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:02.065Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 27
2026-03-21T21:35:02.066Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 27 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.079Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting process to consult shelter with id = 999
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where se1_0.id=?
2026-03-21T21:35:02.080Z ERROR 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with id 999 not found
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.105Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 36
2026-03-21T21:35:02.106Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 36 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.118Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: TqILANoJQp
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.131Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 42
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.148Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 45
2026-03-21T21:35:02.149Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 45 deleted successfully
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.160Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 999
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:02.176Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 51
2026-03-21T21:35:02.177Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 51 but it has active events
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.189Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: cAK2yoFfHj
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.201Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter:    
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:02.218Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 60
2026-03-21T21:35:02.218Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 60 but it has pets
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.231Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: Shelter 0
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.244Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters containing name: NonExistentName
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0 where upper(se1_0.name) like upper(?) escape '\'
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.260Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: vZFPVz695n
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.273Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: sjK0TjVCYv
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.285Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting process to consult all shelters
Hibernate: select se1_0.id,se1_0.city,se1_0.description,se1_0.email,se1_0.gallery,se1_0.name from shelter_entity se1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:02.301Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 78
2026-03-21T21:35:02.301Z  WARN 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Attempted to delete shelter 78 but it has active events
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.313Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: n7Ft0elR7w
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.325Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: null
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.337Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting update process for shelter with id = 87
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.351Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting creation process for shelter: New Unique Shelter
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only
Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.email=? fetch first ? rows only
2026-03-21T21:35:02.355Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter created successfully: New Unique Shelter
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_event_entity see1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default)
2026-03-21T21:35:02.368Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Starting deletion process for shelter ID: 94
2026-03-21T21:35:02.369Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Shelter with ID: 94 deleted successfully
[INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.104 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest
2026-03-21T21:35:02.377Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:35:02.384Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:35:02.406Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Starting PetServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:35:02.406Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:35:02.492Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:35:02.514Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 19 JPA repository interfaces.
2026-03-21T21:35:02.533Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:35:02.545Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:1795e9a1-9521-4334-98ad-9d79f887bbfa;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:35:02.564Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:35:02.566Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:35:02.573Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:35:02.575Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:35:02.575Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@38eef9f3']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:35:02.713Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:35:02.757Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:35:02.925Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Started PetServiceTest in 0.538 seconds (process running for 12.993)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:02.947Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 1
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:02.963Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 999
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:02.982Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Firulais
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (description,pet_id,id) values (?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:03.001Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 11
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:03.019Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 15
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.035Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 17
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.071Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: null
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.087Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: cy0V7TRF1N
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.103Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Budy
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (description,pet_id,id) values (?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.136Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: dNHxU_f2Li
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.151Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: m9FDB5sPPr
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.164Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Processing return for pet with id = 39
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.178Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: b_tV6eo3R0
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.204Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 48
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.217Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 53
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:35:03.243Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 54
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.259Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 57
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.274Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 60
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.289Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: FwId1xSPz8
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.304Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: OFbLGyg07Y
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.319Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: null
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.333Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: SJQrCaZO2f
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.367Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Y_WRrxX3GU
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:03.383Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 81
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:35:03.397Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Processing return for pet with id = 84
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:03.414Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 87
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.429Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: Tem7ODWuiR
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.443Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: LmLBuMYdKx
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.459Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: 4KflY8ngyC
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.471Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: jG38iQGPti
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (description,pet_id,id) values (?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.486Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 103
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.519Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: 3FjwEiu883
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.536Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 109
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.552Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 112
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.570Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: tQCdqd1iuT
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:03.586Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 119
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.600Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Processing return for pet with id = 999
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.616Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 999
Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,pe1_0.name,pe1_0.origin,pe1_0.photos,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.space_required,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id where pe1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.631Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 127
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.646Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 131
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.661Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 133
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:35:03.674Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 136
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.686Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: 5E_QbmPJzr
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:03.698Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Deleting pet with id = 142
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.709Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: cDV8kjVzgg
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-03-21T21:35:03.720Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet: MJvgsHCirz
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=?
2026-03-21T21:35:03.732Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Updating pet with id = 151
[INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.361 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
2026-03-21T21:35:03.737Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:35:03.740Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:35:03.760Z  INFO 71 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Starting VeterinarianServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:35:03.761Z  INFO 71 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:35:03.825Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:35:03.846Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 19 JPA repository interfaces.
2026-03-21T21:35:03.864Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:35:03.876Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:4e1df947-a8fa-452a-940a-7c42008e40d1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:35:03.893Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:35:03.895Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:35:03.902Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:35:03.904Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:35:03.904Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2b317aa0']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:35:04.034Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:35:04.073Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:35:04.242Z  INFO 71 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Started VeterinarianServiceTest in 0.499 seconds (process running for 14.309)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into medical_event_entity (diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:04.264Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 1
2026-03-21T21:35:04.265Z  WARN 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Attempted to delete veterinarian 1 with medical history records
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
2026-03-21T21:35:04.276Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 4
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
2026-03-21T21:35:04.290Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Starting creation process for veterinarian: nuevo_vet@test.com
2026-03-21T21:35:04.290Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: nuevo_vet@test.com
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into adoption_follow_up_entity (adoption_id,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,default)
2026-03-21T21:35:04.307Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 12
2026-03-21T21:35:04.308Z  WARN 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Attempted to delete veterinarian 12 with active adoption follow-ups
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from vaccination_record_entity vre1_0
Hibernate: delete from adoption_follow_up_entity afue1_0
Hibernate: insert into HT_user_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_)
Hibernate: delete from HT_user_entity
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability,shelter_id,specialty,id) values (?,?,?,?)
2026-03-21T21:35:04.320Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Starting creation process for veterinarian: e0f2M85pZL
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest
2026-03-21T21:35:04.325Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:35:04.327Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.UserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:35:04.346Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Starting UserServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:35:04.346Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:35:04.404Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:35:04.425Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 19 JPA repository interfaces.
2026-03-21T21:35:04.440Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:35:04.452Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:ac233f57-6d82-4dc9-827b-fe9abaab0a9b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:35:04.469Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:35:04.471Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:35:04.479Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:35:04.480Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:35:04.481Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4fc12922']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:35:04.600Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:35:04.635Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:35:04.785Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Started UserServiceTest in 0.455 seconds (process running for 14.852)
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:04.817Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 4
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:04.842Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Updating user with id = 10
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:04.854Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 13
Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:04.946Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: nuevo@correo.com
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 when ue1_3.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=?
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?)
Hibernate: insert into adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default)
2026-03-21T21:35:04.963Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Deleting user with id = 23
Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=?
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:04.975Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: correo-sin-arroba.com
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:04.985Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: 35hPy31P6f
Hibernate: delete from mock_user to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default)
Hibernate: insert into mock_user (id) values (?)
2026-03-21T21:35:05.015Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Starting creation process for user: user0@test.com
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.695 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
2026-03-21T21:35:05.021Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest]: TrialCohabitationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-03-21T21:35:05.027Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.10)

2026-03-21T21:35:05.045Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back)
2026-03-21T21:35:05.045Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-03-21T21:35:05.101Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-03-21T21:35:05.120Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 19 JPA repository interfaces.
2026-03-21T21:35:05.136Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-03-21T21:35:05.148Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:c51d8b8e-f9ca-41d7-b265-27b31f3f9316;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-03-21T21:35:05.163Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-03-21T21:35:05.165Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-03-21T21:35:05.172Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-03-21T21:35:05.173Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-03-21T21:35:05.173Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2c06f84e']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_mock_user(HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, shelter_id bigint, availability varchar(255), email varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
2026-03-21T21:35:05.326Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_follow_up_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists approval_strategy_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists mock_user cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists notification_strategy_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists report_entity cascade 
Hibernate: drop table if exists report_strategy_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_event_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccination_record_entity cascade 
Hibernate: drop table if exists vaccine_entity cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id))
Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table adoption_follow_up_entity (adoption_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, strategy_id bigint, trial_cohabitation_id bigint unique, status varchar(255), primary key (id))
Hibernate: create table approval_strategy_entity (id bigint generated by default as identity, approval_type varchar(31) not null, primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_history_entity (id bigint generated by default as identity, pet_id bigint unique, description varchar(255), primary key (id))
Hibernate: create table message_entity (is_read boolean, adopter_id bigint, id bigint generated by default as identity, shelter_id bigint, timestamp timestamp(6), content TEXT, primary key (id))
Hibernate: create table mock_user (id bigint not null, primary key (id))
Hibernate: create table notification_entity (is_read boolean, date timestamp(6), id bigint generated by default as identity, strategy_id bigint unique, user_id bigint, message varchar(255), primary key (id))
Hibernate: create table notification_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table pet_entity (age integer, good_with_kids boolean, good_with_pets boolean, id bigint generated by default as identity, shelter_id bigint, activity_level varchar(255), breed varchar(255), description varchar(255), name varchar(255), origin varchar(255), photos varchar(255), sex varchar(255), size varchar(255), space_required varchar(255), special_needs varchar(255), species varchar(255), temperament varchar(255), status enum ('ADOPTED','AVAILABLE','IN_TRIAL','MEDICAL_TREATMENT','RESERVED'), primary key (id))
Hibernate: create table report_entity (generate_date date, event_id bigint, id bigint generated by default as identity, shelter_id bigint, strategy_id bigint, primary key (id))
Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id))
Hibernate: create table review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id))
Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id))
Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_id bigint, veterinarian_id bigint, primary key (id))
Hibernate: create table vaccine_entity (validity_months integer, id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability varchar(255), specialty varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkxibwn0r1ep7bgevg86seymmc foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKkqclwmvja9dll86u1bn9ycwn0 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_follow_up_entity add constraint FKsump3rviut1cvfr8iv6vogfp4 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity
Hibernate: alter table if exists report_entity add constraint FKoa7u6l3jn2ueixs49yy8nrap3 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists report_entity add constraint FK33bibp5ycbkys4c6g1dxm410t foreign key (event_id) references shelter_event_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity
Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKdahievfho7baue5s1sayxwom2 foreign key (vaccine_id) references vaccine_entity
Hibernate: alter table if exists vaccination_record_entity add constraint FKe2aflnq4dp8kne3km9enr1mt9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-03-21T21:35:05.364Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-03-21T21:35:05.534Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.505 seconds (process running for 15.601)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.551Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.561Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting process to consult trial cohabitation with id = 999
Hibernate: select tce1_0.id,a1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone,a2_0.has_children,a2_0.has_other_pets,a2_0.housing_type,a1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,a1_0.status,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0 left join adoption_entity a1_0 on a1_0.id=tce1_0.adoption_id left join adopter_entity a2_0 on a2_0.id=a1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=a1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where tce1_0.id=?
2026-03-21T21:35:05.563Z ERROR 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation with id 999 not found
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.572Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.581Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 999
Hibernate: select tce1_0.id,a1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone,a2_0.has_children,a2_0.has_other_pets,a2_0.housing_type,a1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,a1_0.status,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0 left join adoption_entity a1_0 on a1_0.id=tce1_0.adoption_id left join adopter_entity a2_0 on a2_0.id=a1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=a1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where tce1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.590Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting deletion process for trial cohabitation ID: 13
2026-03-21T21:35:05.591Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation with ID: 13 deleted successfully
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.601Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 19
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.610Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting process to consult all trial cohabitations
Hibernate: select tce1_0.id,tce1_0.adoption_id,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.622Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.630Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.639Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 29
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.648Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
2026-03-21T21:35:05.648Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation created successfully
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.659Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting deletion process for trial cohabitation ID: 39
2026-03-21T21:35:05.660Z  WARN 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Attempted to delete trial cohabitation 39 but it is in progress
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.668Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting process to consult trial cohabitation with id = 40
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.677Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting deletion process for trial cohabitation ID: 999
Hibernate: select tce1_0.id,a1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone,a2_0.has_children,a2_0.has_other_pets,a2_0.housing_type,a1_0.adoption_date,p1_0.id,p1_0.activity_level,p1_0.age,p1_0.breed,p1_0.description,p1_0.good_with_kids,p1_0.good_with_pets,mh1_0.id,mh1_0.description,p1_0.name,p1_0.origin,p1_0.photos,p1_0.sex,p1_0.shelter_id,p1_0.size,p1_0.space_required,p1_0.special_needs,p1_0.species,p1_0.status,p1_0.temperament,a1_0.status,tce1_0.end_date,tce1_0.pet_id,tce1_0.result,tce1_0.start_date,tce1_0.status from trial_cohabitation_entity tce1_0 left join adoption_entity a1_0 on a1_0.id=tce1_0.adoption_id left join adopter_entity a2_0 on a2_0.id=a1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=a1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where tce1_0.id=?
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.685Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting creation process for trial cohabitation
2026-03-21T21:35:05.686Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation created successfully
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: delete from trial_cohabitation_entity tce1_0
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default)
2026-03-21T21:35:05.694Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Starting update process for trial cohabitation with id = 50
2026-03-21T21:35:05.694Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Trial cohabitation with id = 50 updated successfully
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.677 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 138, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.492 s
[INFO] Finished at: 2026-03-21T21:35:05Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 450b8b6cd72469319b6b81229b32ca970f4c77eda4cacae0533c2ed637aa982a
$ docker rm -f --volumes 450b8b6cd72469319b6b81229b32ca970f4c77eda4cacae0533c2ed637aa982a
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Static Analysis)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Slave2 does not seem to be running inside a container
$ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E1_Back -v /home/cecaduser/workspace/MP_202610_G81_E1_Back:/home/cecaduser/workspace/MP_202610_G81_E1_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat
$ docker top 57311e8f913cd7aacc198ff8822319038f77dd2cc3d00d3f9f8473573cd63890 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar
[INFO] Scanning for projects...
[WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation
[INFO] 
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E1_Back >-------------
[INFO] Building MP_202610_G81_E1_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202610_G81_E1_Back ---
[WARNING] 21:35:10.785 Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121'.
[INFO] 21:35:10.794 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 21:35:10.794 Linux 6.17.0-14-generic (amd64)
[INFO] 21:35:10.955 User cache: /root/.sonar/cache
[INFO] 21:35:11.645 Communicating with SonarQube Server 25.3.0.104237
[INFO] 21:35:11.662 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 21:35:12.526 Load global settings
[INFO] 21:35:12.615 Load global settings (done) | time=90ms
[INFO] 21:35:12.632 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 21:35:12.645 Loading required plugins
[INFO] 21:35:12.645 Load plugins index
[INFO] 21:35:12.712 Load plugins index (done) | time=67ms
[INFO] 21:35:12.712 Load/download plugins
[INFO] 21:35:12.973 Load/download plugins (done) | time=261ms
[INFO] 21:35:13.312 Process project properties
[INFO] 21:35:13.327 Process project properties (done) | time=15ms
[INFO] 21:35:13.351 Project key: co.edu.udistrital.mdp:MP_202610_G81_E1_Back
[INFO] 21:35:13.351 Base dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back
[INFO] 21:35:13.351 Working dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/sonar
[INFO] 21:35:13.360 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back'
[INFO] 21:35:13.376 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' (done) | time=15ms
[INFO] 21:35:13.413 Load quality profiles
[INFO] 21:35:13.458 Load quality profiles (done) | time=45ms
[INFO] 21:35:13.472 Auto-configuring with CI 'Jenkins'
[INFO] 21:35:13.510 Load active rules
[INFO] 21:35:13.770 Load active rules (done) | time=260ms
[INFO] 21:35:13.777 Load analysis cache
[INFO] 21:35:13.794 Load analysis cache (3.2 kB) | time=17ms
[INFO] 21:35:13.865 Preprocessing files...
[INFO] 21:35:14.032 2 languages detected in 68 preprocessed files
[INFO] 21:35:14.032 0 files ignored because of scm ignore settings
[INFO] 21:35:14.035 Loading plugins for detected languages
[INFO] 21:35:14.035 Load/download plugins
[INFO] 21:35:14.323 Load/download plugins (done) | time=288ms
[INFO] 21:35:14.436 Load project repositories
[INFO] 21:35:14.549 Load project repositories (done) | time=113ms
[INFO] 21:35:14.568 Indexing files...
[INFO] 21:35:14.569 Project configuration:
[INFO] 21:35:14.569   Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 21:35:14.585 68 files indexed
[INFO] 21:35:14.586 Quality profile for java: Sonar way MP
[INFO] 21:35:14.586 Quality profile for xml: Sonar way
[INFO] 21:35:14.587 ------------- Run sensors on module MP_202610_G81_E1_Back
[INFO] 21:35:14.656 Load metrics repository
[INFO] 21:35:14.673 Load metrics repository (done) | time=17ms
[INFO] 21:35:15.458 Sensor JavaSensor [java]
[INFO] 21:35:15.462 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 21:35:15.491 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 21:35:15.492 Using ECJ batch to parse 60 Main java source files with batch size 104 KB.
[INFO] 21:35:15.847 Starting batch processing.
[INFO] 21:35:16.411 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 21:35:18.203 100% analyzed
[INFO] 21:35:18.203 Batch processing: Done.
[INFO] 21:35:18.205 Did not optimize analysis for any files, performed a full analysis for all 60 files.
[WARNING] 21:35:18.207 Use of preview features have been detected during analysis. Enable DEBUG mode to see them.
[INFO] 21:35:18.207 Using ECJ batch to parse 7 Test java source files with batch size 104 KB.
[INFO] 21:35:18.230 Starting batch processing.
[INFO] 21:35:18.850 100% analyzed
[INFO] 21:35:18.850 Batch processing: Done.
[INFO] 21:35:18.851 Did not optimize analysis for any files, performed a full analysis for all 7 files.
[INFO] 21:35:18.852 No "Generated" source files to scan.
[INFO] 21:35:18.852 Sensor JavaSensor [java] (done) | time=3395ms
[INFO] 21:35:18.852 Sensor SurefireSensor [java]
[INFO] 21:35:18.853 parsing [/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/surefire-reports]
[INFO] 21:35:18.944 Sensor SurefireSensor [java] (done) | time=92ms
[INFO] 21:35:18.945 Sensor XML Sensor [xml]
[INFO] 21:35:18.953 1 source file to be analyzed
[INFO] 21:35:19.098 1/1 source file has been analyzed
[INFO] 21:35:19.099 Sensor XML Sensor [xml] (done) | time=155ms
[INFO] 21:35:19.099 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 21:35:19.101 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202610_G81_E1_Back/../target/jacoco-report/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
[INFO] 21:35:19.104 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
[INFO] 21:35:19.149 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=50ms
[INFO] 21:35:19.149 Sensor Java Config Sensor [iac]
[INFO] 21:35:19.169 0 source files to be analyzed
[INFO] 21:35:19.169 0/0 source files have been analyzed
[INFO] 21:35:19.170 Sensor Java Config Sensor [iac] (done) | time=21ms
[INFO] 21:35:19.170 Sensor IaC Docker Sensor [iac]
[INFO] 21:35:19.246 0 source files to be analyzed
[INFO] 21:35:19.246 0/0 source files have been analyzed
[INFO] 21:35:19.247 Sensor IaC Docker Sensor [iac] (done) | time=77ms
[INFO] 21:35:19.247 Sensor TextAndSecretsSensor [text]
[INFO] 21:35:19.247 Available processors: 4
[INFO] 21:35:19.247 Using 4 threads for analysis.
[INFO] 21:35:19.632 Using git CLI to retrieve untracked files
[WARNING] 21:35:19.635 Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
[INFO] 21:35:19.653 68 source files to be analyzed
[INFO] 21:35:19.797 68/68 source files have been analyzed
[INFO] 21:35:19.801 Sensor TextAndSecretsSensor [text] (done) | time=554ms
[INFO] 21:35:19.805 ------------- Run sensors on project
[INFO] 21:35:19.961 Sensor Zero Coverage Sensor
[INFO] 21:35:19.962 Sensor Zero Coverage Sensor (done) | time=1ms
[INFO] 21:35:19.962 Sensor Java CPD Block Indexer
[INFO] 21:35:20.018 Sensor Java CPD Block Indexer (done) | time=56ms
[INFO] 21:35:20.018 ------------- Gather SCA dependencies on project
[INFO] 21:35:20.033 SCM Publisher SCM provider for this project is: git
[INFO] 21:35:20.034 SCM Publisher 2 source files to be analyzed
[INFO] 21:35:20.290 SCM Publisher 2/2 source files have been analyzed (done) | time=256ms
[INFO] 21:35:20.298 CPD Executor 28 files had no CPD blocks
[INFO] 21:35:20.298 CPD Executor Calculating CPD for 32 files
[INFO] 21:35:20.308 CPD Executor CPD calculation finished (done) | time=10ms
[INFO] 21:35:20.313 SCM revision ID '1461a5c96b764c98a56c6175e2e1e1caa761e273'
[INFO] 21:35:20.440 Analysis report generated in 117ms, dir size=530.0 kB
[INFO] 21:35:20.602 Analysis report compressed in 162ms, zip size=199.3 kB
[INFO] 21:35:20.671 Analysis report uploaded in 68ms
[INFO] 21:35:20.672 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202610_G81_E1_Back
[INFO] 21:35:20.673 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 21:35:20.673 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=d4f3f963-284f-4b92-8636-5a51e1b0777a
[INFO] 21:35:20.699 Analysis total time: 7.674 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.106 s
[INFO] Finished at: 2026-03-21T21:35:20Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 57311e8f913cd7aacc198ff8822319038f77dd2cc3d00d3f9f8473573cd63890
$ docker rm -f --volumes 57311e8f913cd7aacc198ff8822319038f77dd2cc3d00d3f9f8473573cd63890
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] deleteDir
[Pipeline] dir
Running in /home/cecaduser/workspace/MP_202610_G81_E1_Back/MP_202610_G81_E1_Back@tmp
[Pipeline] {
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS