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 a180ee02c87f07c660a48be44f65ffd08b10a30b (refs/remotes/origin/main) Commit message: "Merge pull request #90 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 a180ee02c87f07c660a48be44f65ffd08b10a30b # timeout=10 > git rev-list --no-walk 95eb20189878204452bc96a30f2c4b5cf340c393 # 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: feat(pet): add new implemetation for updatePet in service [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 a180ee02c87f07c660a48be44f65ffd08b10a30b (refs/remotes/origin/main) Commit message: "Merge pull request #90 from UDFJDC-ModelosProgramacion/develop" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh > 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 a180ee02c87f07c660a48be44f65ffd08b10a30b # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main a180ee02c87f07c660a48be44f65ffd08b10a30b # timeout=10 + 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 7a0d9f40505b172d903ece2f5f4a046253be2dd83bc8e0b2bc2fccfb1c512106 -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 84 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 22 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.strategies.NotificationStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 s -- in co.edu.udistrital.mdp.pets.strategies.NotificationStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s -- in co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.strategies.ReportStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in co.edu.udistrital.mdp.pets.strategies.ReportStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:24.739Z INFO 92 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : Starting ApplicationConfigTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:24.755Z INFO 92 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:25.314Z INFO 92 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : Started ApplicationConfigTest in 1.115 seconds (process running for 3.368) 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 [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.938 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-03-24T02:16:26.502Z INFO 92 --- [ main] t.c.s.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. 2026-03-24T02:16:26.586Z INFO 92 --- [ main] .b.t.c.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-24T02:16:26.649Z 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-24T02:16:26.649Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:27.050Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:27.185Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 112 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:27.297Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:27.421Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:144bf687-e5c4-40c6-9779-7ff6591b375e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:28.055Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:28.169Z INFO 92 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-24T02:16:28.244Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:28.504Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:28.612Z 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-24T02:16:28.651Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2c6d5b2e'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:30.982Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:31.143Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:32.013Z INFO 92 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-24T02:16:32.918Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 6.306 seconds (process running for 10.972) 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-24T02:16:33.199Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user 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-24T02:16:33.256Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 4 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-24T02:16:33.280Z 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-24T02:16:33.314Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 11 2026-03-24T02:16:33.315Z WARN 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Attempted to delete adopter 11 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-24T02:16:33.337Z 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-24T02:16:33.380Z 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-24T02:16:33.399Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 22 2026-03-24T02:16:33.400Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 22 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:16:33.530Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 999 2026-03-24T02:16:33.530Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:16:33.554Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Starting creation process for adopter: nuevo_adopter@test.com 2026-03-24T02:16:33.554Z 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_1.id is not null then 1 when ue1_2.id is not null then 2 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 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_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:16:33.601Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 35 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-24T02:16:33.622Z 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-24T02:16:33.642Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 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 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_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:16:33.686Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 48 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-24T02:16:33.711Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 50 2026-03-24T02:16:33.712Z WARN 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Attempted to delete adopter 50 with active adoption requests [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.233 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-24T02:16:33.721Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:33.725Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:33.755Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:33.756Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:33.871Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:33.904Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:33.931Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:33.948Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:99aaf4fb-99be-4c0a-8539-c428580b50de;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:33.972Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:33.974Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:33.984Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:33.986Z 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-24T02:16:33.986Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3e866b99'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:34.229Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:34.308Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:34.536Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.807 seconds (process running for 12.591) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select mee1_0.id,mee1_0.description,mee1_0.diagnosis,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.description,mh1_0.last_checkout,mh1_0.notes,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,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,mee1_0.treatment,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone,v1_0.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,v1_0.specialty from medical_event_entity mee1_0 left join medical_history_entity mh1_0 on mh1_0.id=mee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mee1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mee1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.579Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.661Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.689Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de eliminación para evento médico ID: 18 Hibernate: select count(*) from medical_event_entity mee1_0 where mee1_0.id=? 2026-03-24T02:16:34.695Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con ID: 18 eliminado exitosamente 2026-03-24T02:16:34.695Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 18 2026-03-24T02:16:34.696Z ERROR 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con id 18 no encontrado Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.710Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de eliminación para evento médico ID: 888888 Hibernate: select count(*) from medical_event_entity mee1_0 where mee1_0.id=? 2026-03-24T02:16:34.712Z ERROR 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Intento de eliminar evento médico inexistente con ID: 888888 Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.742Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:16:34.743Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico creado exitosamente Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.758Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:16:34.760Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico creado exitosamente Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.774Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 999999 Hibernate: select mee1_0.id,mee1_0.description,mee1_0.diagnosis,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.description,mh1_0.last_checkout,mh1_0.notes,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,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,mee1_0.treatment,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone,v1_0.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,v1_0.specialty from medical_event_entity mee1_0 left join medical_history_entity mh1_0 on mh1_0.id=mee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mee1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mee1_0.id=? 2026-03-24T02:16:34.775Z ERROR 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con id 999999 no encontrado Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.790Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.818Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.830Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 45 Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:34.844Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando todos los eventos médicos Hibernate: select mee1_0.id,mee1_0.description,mee1_0.diagnosis,mee1_0.event_date,mee1_0.event_type,mee1_0.medical_history_id,mee1_0.treatment,mee1_0.veterinarian_id from medical_event_entity mee1_0 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.132 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-24T02:16:34.855Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:34.863Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:34.888Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:34.888Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:34.970Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:34.996Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:35.017Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:35.031Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:132a0484-11b0-4114-97c6-90ba552dcca0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:35.077Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:35.081Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:35.096Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:35.105Z 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-24T02:16:35.106Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@25350f8e'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:35.338Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:35.408Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:35.639Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.772 seconds (process running for 13.693) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:35.679Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Updating message with id = 4 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select me1_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,me1_0.content,me1_0.is_read,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,me1_0.timestamp from message_entity me1_0 left join adopter_entity a1_0 on a1_0.id=me1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join shelter_entity s1_0 on s1_0.id=me1_0.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:35.739Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 13 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:35.756Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 999 Hibernate: select me1_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,me1_0.content,me1_0.is_read,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,me1_0.timestamp from message_entity me1_0 left join adopter_entity a1_0 on a1_0.id=me1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join shelter_entity s1_0 on s1_0.id=me1_0.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:16:35.878Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Creating message between adopter 13 and shelter 13 Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:35.897Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 41 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 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-24T02:16:35.931Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 47 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:16:35.966Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Creating message between adopter 19 and shelter 18 Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:36.001Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Updating message with id = 60 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:36.016Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 63 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select me1_0.id,me1_0.adopter_id,me1_0.content,me1_0.is_read,me1_0.shelter_id,me1_0.timestamp from message_entity me1_0 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:16:36.072Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Updating message with id = 72 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? Hibernate: select me1_0.id,me1_0.adopter_id,me1_0.content,me1_0.is_read,me1_0.shelter_id,me1_0.timestamp from message_entity me1_0 left join shelter_entity s1_0 on s1_0.id=me1_0.shelter_id where s1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select me1_0.id,me1_0.adopter_id,me1_0.content,me1_0.is_read,me1_0.shelter_id,me1_0.timestamp from message_entity me1_0 left join adopter_entity a1_0 on a1_0.id=me1_0.adopter_id where a1_0.id=? [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.284 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest 2026-03-24T02:16:36.141Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest]: ShelterEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:36.144Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:36.168Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Starting ShelterEventServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:36.169Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:36.247Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:36.272Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:36.295Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:36.309Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:291e34f1-89be-4640-871d-35c989e26a14;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:36.328Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:36.330Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:36.340Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:36.342Z 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-24T02:16:36.342Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3fce5651'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:36.503Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:36.549Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:36.764Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Started ShelterEventServiceTest in 0.618 seconds (process running for 14.819) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:36.781Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 2026-03-24T02:16:36.783Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:16:36.799Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Creating shelter event: Event with null status Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:36.813Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 8 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:36.837Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 14 2026-03-24T02:16:36.838Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Deleting shelter event with id = 14 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select see1_0.id,see1_0.date,see1_0.description,see1_0.location,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,see1_0.status,see1_0.title from shelter_event_entity see1_0 left join shelter_entity s1_0 on s1_0.id=see1_0.shelter_id where see1_0.id=? 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select see1_0.id,see1_0.date,see1_0.description,see1_0.location,see1_0.shelter_id,see1_0.status,see1_0.title from shelter_event_entity see1_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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:36.925Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Updating shelter event with id = 32 Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:16:37.044Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Creating shelter event: Feria de Adopción Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:37.056Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 54 2026-03-24T02:16:37.058Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Updating shelter event with id = 54 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:37.070Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Deleting shelter event with id = 57 [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.934 s -- in co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-03-24T02:16:37.076Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:37.082Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:37.102Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:37.103Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:37.171Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:37.195Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:37.213Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:37.225Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:32cf01a6-ed85-4ef0-8e2a-fdee9e425662;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:37.244Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:37.246Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:37.254Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:37.255Z 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-24T02:16:37.256Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@61bf3586'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:37.451Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:37.518Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:37.698Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.613 seconds (process running for 15.752) Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:16:37.711Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 1 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:37.727Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 1 to APPROVED Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:16:37.737Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 2 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:37.740Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 2 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:16:37.751Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 3 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:37.754Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 3 to APPROVED 2026-03-24T02:16:37.755Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 3 to REJECTED Hibernate: insert into pet_entity (activity_level,age,breed,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 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 are1_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,as1_0.id,as1_0.approval_type,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,mh1_0.last_checkout,mh1_0.notes,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,are1_0.request_date,are1_0.status,tc1_0.id,a2_0.id,a3_0.id,a3_1.email,a3_1.name,a3_1.password,a3_1.phone,a3_0.has_children,a3_0.has_other_pets,a3_0.housing_type,a2_0.adoption_date,p2_0.id,p2_0.activity_level,p2_0.age,p2_0.breed,p2_0.description,p2_0.good_with_kids,p2_0.good_with_pets,mh2_0.id,mh2_0.description,mh2_0.last_checkout,mh2_0.notes,p2_0.name,p2_0.origin,p2_0.photos,p2_0.sex,p2_0.shelter_id,p2_0.size,p2_0.space_required,p2_0.special_needs,p2_0.species,p2_0.status,p2_0.temperament,a2_0.status,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join approval_strategy_entity as1_0 on as1_0.id=are1_0.strategy_id left join pet_entity p1_0 on p1_0.id=are1_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 tc1_0.id=are1_0.trial_cohabitation_id left join adoption_entity a2_0 on a2_0.id=tc1_0.adoption_id left join adopter_entity a3_0 on a3_0.id=a2_0.adopter_id left join user_entity a3_1 on a3_0.id=a3_1.id left join pet_entity p2_0 on p2_0.id=a2_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id where are1_0.id=? Hibernate: insert into pet_entity (activity_level,age,breed,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 user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 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-24T02:16:37.787Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 5 Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:16:37.797Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 6 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.728 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-24T02:16:37.805Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:37.808Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:37.826Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:37.827Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:37.898Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:37.921Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:37.939Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:37.951Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:278967ae-3394-4167-a399-92bccf15de9f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:37.969Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:37.970Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:37.979Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:37.980Z 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-24T02:16:37.980Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3604826d'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:38.165Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:38.216Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:38.523Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.713 seconds (process running for 16.577) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.602Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Marking notification 13 as read Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.614Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Deleting notification with id = 999 Hibernate: select count(*) from notification_entity ne1_0 where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.629Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Updating notification with id = 19 Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? 2026-03-24T02:16:38.648Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Creating notification for user: 8 Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.681Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Marking notification 999 as read Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.693Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Setting strategy 999 to notification 35 Hibernate: select nse1_0.id,nse1_0.notification_type from notification_strategy_entity nse1_0 where nse1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? 2026-03-24T02:16:38.708Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Creating notification for user: 13 Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ne1_0.strategy_id,ne1_0.user_id from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id where u1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ne1_0.strategy_id,ne1_0.user_id from notification_entity ne1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 2026-03-24T02:16:38.763Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Updating notification with id = 999 Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.786Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Updating notification with id = 57 Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 2026-03-24T02:16:38.798Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Setting strategy 64 to notification 60 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 2026-03-24T02:16:38.810Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Setting strategy 68 to notification 999 Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:16:38.862Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Deleting notification with id = 75 Hibernate: select count(*) from notification_entity ne1_0 where ne1_0.id=? [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.064 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest 2026-03-24T02:16:38.872Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest]: AdoptionFollowUpServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:38.878Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:38.896Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Starting AdoptionFollowUpServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:38.896Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:38.966Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:38.995Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:39.012Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:39.024Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:aadc6314-249f-4e4a-9f33-9efc90959460;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:39.050Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:39.052Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:39.061Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:39.062Z 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-24T02:16:39.063Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4e1b6119'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:39.233Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:39.273Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:39.446Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Started AdoptionFollowUpServiceTest in 0.565 seconds (process running for 17.501) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) 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,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: select afue1_0.id,afue1_0.adoption_id,afue1_0.follow_up_date,afue1_0.frequency,afue1_0.notes,afue1_0.pet_id,afue1_0.veterinarian_id from adoption_follow_up_entity afue1_0 left join adoption_entity a1_0 on a1_0.id=afue1_0.adoption_id where a1_0.id=? Hibernate: select afue1_0.id,afue1_0.adoption_id,afue1_0.follow_up_date,afue1_0.frequency,afue1_0.notes,afue1_0.pet_id,afue1_0.veterinarian_id from adoption_follow_up_entity afue1_0 left join veterinarian_entity v1_0 on v1_0.id=afue1_0.veterinarian_id where v1_0.id=? Hibernate: select afue1_0.id,afue1_0.adoption_id,afue1_0.follow_up_date,afue1_0.frequency,afue1_0.notes,afue1_0.pet_id,afue1_0.veterinarian_id from adoption_follow_up_entity afue1_0 where afue1_0.frequency=? Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_0 2026-03-24T02:16:39.480Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) 2026-03-24T02:16:39.491Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción 2026-03-24T02:16:39.492Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_0 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 pet_entity (activity_level,age,breed,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) 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-24T02:16:39.531Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) 2026-03-24T02:16:39.543Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.674 s -- in co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest 2026-03-24T02:16:39.547Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest]: VaccinationRecordServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:39.550Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:39.568Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Starting VaccinationRecordServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:39.568Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:39.626Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:39.647Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:39.661Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:39.672Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5bef822e-d1eb-4320-b874-13dafc9833a1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:39.686Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:39.688Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:39.695Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:39.696Z 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-24T02:16:39.696Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4a3c6015'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:39.821Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:39.857Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:40.000Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Started VaccinationRecordServiceTest in 0.448 seconds (process running for 18.054) Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select vre1_0.id,vre1_0.application_date,vre1_0.medical_history_id,vre1_0.next_due_date,vre1_0.pet_id,vre1_0.vaccination_date,vre1_0.vaccine_id,vre1_0.veterinarian_id from vaccination_record_entity vre1_0 Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:40.064Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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-24T02:16:40.192Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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-24T02:16:40.213Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) 2026-03-24T02:16:40.232Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) 2026-03-24T02:16:40.249Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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-24T02:16:40.264Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:40.280Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select vre1_0.id,vre1_0.application_date,mh1_0.id,mh1_0.description,mh1_0.last_checkout,mh1_0.notes,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,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,vre1_0.next_due_date,p2_0.id,p2_0.activity_level,p2_0.age,p2_0.breed,p2_0.description,p2_0.good_with_kids,p2_0.good_with_pets,mh2_0.id,mh2_0.description,mh2_0.last_checkout,mh2_0.notes,p2_0.name,p2_0.origin,p2_0.photos,p2_0.sex,p2_0.shelter_id,p2_0.size,p2_0.space_required,p2_0.special_needs,p2_0.species,p2_0.status,p2_0.temperament,vre1_0.vaccination_date,v1_0.id,v1_0.description,v1_0.name,v1_0.validity_months,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone,v2_0.availability,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,v2_0.specialty from vaccination_record_entity vre1_0 left join medical_history_entity mh1_0 on mh1_0.id=vre1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join pet_entity p2_0 on p2_0.id=vre1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join vaccine_entity v1_0 on v1_0.id=vre1_0.vaccine_id left join veterinarian_entity v2_0 on v2_0.id=vre1_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:40.327Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) 2026-03-24T02:16:40.343Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:40.361Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.818 s -- in co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-24T02:16:40.367Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:40.372Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:40.398Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:40.399Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:40.478Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:40.501Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:40.521Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:40.533Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e65f62c0-fa8d-4dd0-9e45-c3e5616042be;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:40.552Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:40.554Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:40.562Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:40.563Z 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-24T02:16:40.564Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1404ed28'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:40.824Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:40.858Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:41.042Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.668 seconds (process running for 19.097) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.comment,re1_0.date,re1_0.pet_id,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id where a1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.095Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Creating review for adopter 3 and pet 3 Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: select ae1_0.id from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id where a1_0.id=? and p1_0.id=? fetch first ? rows only Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.117Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Updating review with id = 999 Hibernate: select re1_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,re1_0.comment,re1_0.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,mh1_0.last_checkout,mh1_0.notes,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,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_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=re1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 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-24T02:16:41.140Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Creating review for adopter 6 and pet 5 Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: select ae1_0.id from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id where a1_0.id=? and p1_0.id=? fetch first ? rows only Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.169Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Deleting review with id = 20 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.185Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Updating review with id = 23 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.comment,re1_0.date,re1_0.pet_id,re1_0.rating from review_entity re1_0 left join pet_entity p1_0 on p1_0.id=re1_0.pet_id where p1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.287Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Deleting review with id = 44 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.301Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Updating review with id = 47 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.comment,re1_0.date,re1_0.pet_id,re1_0.rating from review_entity re1_0 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:16:41.338Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Deleting review with id = 999 Hibernate: select re1_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,re1_0.comment,re1_0.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,mh1_0.last_checkout,mh1_0.notes,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,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_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=re1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select re1_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,re1_0.comment,re1_0.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,mh1_0.last_checkout,mh1_0.notes,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,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_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=re1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.010 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-24T02:16:41.378Z 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-24T02:16:41.384Z 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-24T02:16:41.400Z 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-24T02:16:41.400Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:41.455Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:41.474Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:41.491Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:41.501Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a3d885d5-d074-4828-9e64-ad1b45dc3b86;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:41.515Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:41.516Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:41.524Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:41.525Z 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-24T02:16:41.526Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@20cf04c6'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:41.675Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:41.711Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:41.877Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.491 seconds (process running for 19.931) 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-24T02:16:41.894Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 1 2026-03-24T02:16:41.897Z 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-24T02:16:41.907Z 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-24T02:16:41.923Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting creation process for adoption 2026-03-24T02:16:41.923Z 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-24T02:16:41.932Z 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,mh1_0.last_checkout,mh1_0.notes,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,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:41.942Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 14 2026-03-24T02:16:41.943Z 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-24T02:16:41.950Z 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-24T02:16:41.957Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:41.959Z 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-24T02:16:41.965Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 23 2026-03-24T02:16:41.966Z 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-24T02:16:41.975Z 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-24T02:16:41.988Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 29 2026-03-24T02:16:41.988Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Adoption with ID: 29 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-24T02:16:42.008Z 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-24T02:16:42.030Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:42.039Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 38 2026-03-24T02:16:42.039Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Adoption with id = 38 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-24T02:16:42.046Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 41 [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.671 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-24T02:16:42.051Z 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-24T02:16:42.056Z 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-24T02:16:42.079Z 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-24T02:16:42.079Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:42.133Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:42.151Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:42.164Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:42.180Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:431bad64-1d2a-493b-b590-b106630e57a2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:42.194Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:42.195Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:42.203Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:42.204Z 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-24T02:16:42.204Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6904fcb'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:42.341Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:42.369Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:42.510Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.446 seconds (process running for 20.564) 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-24T02:16:42.527Z 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-24T02:16:42.546Z 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-24T02:16:42.556Z 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-24T02:16:42.561Z 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) 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 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-24T02:16:42.581Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: eUAeTypIpl 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-24T02:16:42.593Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 17 2026-03-24T02:16:42.595Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 17 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-24T02:16:42.626Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: gD5_H4LAqw 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-24T02:16:42.641Z 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-24T02:16:42.655Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 29 2026-03-24T02:16:42.656Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 29 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-24T02:16:42.665Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 30 Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only 2026-03-24T02:16:42.668Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id = 30 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) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:42.679Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 33 2026-03-24T02:16:42.680Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 33 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-24T02:16:42.689Z 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-24T02:16:42.690Z 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: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 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 subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:16:42.710Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 1 subscribed to shelter 39 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:16:42.712Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 2 subscribed to shelter 39 Hibernate: update subscription_entity set active=?,shelter_id=?,user_id=? where id=? 2026-03-24T02:16:42.719Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Notifying 1 observers in shelter 39 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-24T02:16:42.740Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 45 2026-03-24T02:16:42.741Z 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-24T02:16:42.750Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: G87UYdndmc 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-24T02:16:42.760Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 51 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-24T02:16:42.771Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 54 2026-03-24T02:16:42.772Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 54 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-24T02:16:42.780Z 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-24T02:16:42.792Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 60 2026-03-24T02:16:42.792Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 60 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 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 subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:16:42.803Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 3 subscribed to shelter 63 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-24T02:16:42.815Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: kRRM03FsE4 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-24T02:16:42.826Z 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-24T02:16:42.836Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 72 2026-03-24T02:16:42.837Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 72 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-24T02:16:42.869Z 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-24T02:16:42.885Z 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-24T02:16:42.896Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 02r1tRZfER 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-24T02:16:42.904Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: rWgSyD95Ad 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-24T02:16:42.911Z 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-24T02:16:42.924Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 90 2026-03-24T02:16:42.924Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 90 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-24T02:16:42.933Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: yohmHq9PtH 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-24T02:16:42.941Z 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-24T02:16:42.951Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 99 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) 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 subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:16:42.976Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 4 subscribed to shelter 102 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-24T02:16:42.986Z 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-24T02:16:42.989Z 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-24T02:16:42.998Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 109 2026-03-24T02:16:42.998Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 109 deleted successfully [INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.950 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-24T02:16:43.005Z 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-24T02:16:43.011Z 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-24T02:16:43.027Z 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-24T02:16:43.028Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:43.096Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:43.115Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:43.127Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:43.137Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5fc6ea92-609a-46aa-b18f-f1ff905e349c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:43.152Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:43.154Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:43.162Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:43.163Z 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-24T02:16:43.164Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6d7f2ee5'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:43.304Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:43.333Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:43.463Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.45 seconds (process running for 21.518) 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-24T02:16:43.487Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:43.497Z 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,last_checkout,notes,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) 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-24T02:16:43.519Z 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-24T02:16:43.528Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:43.548Z 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-24T02:16:43.572Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: nFSvpCTGlp 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-24T02:16:43.583Z 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,last_checkout,notes,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-24T02:16:43.593Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: WL1cezh9JX 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-24T02:16:43.602Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: hQYXYmVnnl 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-24T02:16:43.611Z 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-24T02:16:43.621Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: OdKM8m3dn4 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-24T02:16:43.638Z 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-24T02:16:43.647Z 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=? 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) 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-24T02:16:43.686Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: smuLGZYieW 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-24T02:16:43.695Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: cwfpZ686n3 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-24T02:16:43.704Z 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-24T02:16:43.713Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: BETnQ0Wntb 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-24T02:16:43.732Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: MzMIz2kQEI 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) 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-24T02:16:43.760Z 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) 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-24T02:16:43.788Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: LKnOzh23a6 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-24T02:16:43.802Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: vcjF9W1i76 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-24T02:16:43.816Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: dEBciqSEqY 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-24T02:16:43.827Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 8TuO9yHDFc Hibernate: insert into pet_entity (activity_level,age,breed,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,last_checkout,notes,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: 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-24T02:16:43.854Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 5EdIxGStzD 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) 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-24T02:16:43.892Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: d7ZwfcAxQM 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-24T02:16:43.904Z 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-24T02:16:43.916Z 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,mh1_0.last_checkout,mh1_0.notes,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) 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:43.936Z 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) 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-24T02:16:43.954Z 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=? 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-24T02:16:43.972Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: HcM2nAapJR 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-24T02:16:43.981Z 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-24T02:16:43.993Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: d5f5NKwVdJ 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-24T02:16:44.002Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: vVIpvgbznk 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=? [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.013 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-24T02:16:44.018Z 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-24T02:16:44.020Z 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-24T02:16:44.033Z 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-24T02:16:44.034Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:44.100Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:44.121Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:44.135Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:44.144Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:09b933ca-1a16-49aa-b944-5a123f6a7f8f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:44.157Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:44.159Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:44.167Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:44.168Z 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-24T02:16:44.169Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6292568f'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:44.285Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:44.310Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:44.446Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.423 seconds (process running for 22.5) 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-24T02:16:44.461Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 1 2026-03-24T02:16:44.462Z 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-24T02:16:44.478Z 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-24T02:16:44.488Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 7 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-24T02:16:44.497Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 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,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 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 (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:44.507Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 13 2026-03-24T02:16:44.508Z WARN 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Attempted to delete veterinarian 13 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-24T02:16:44.517Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 16 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-24T02:16:44.528Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 19 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-24T02:16:44.537Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 22 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-24T02:16:44.546Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: nuevo_vet@test.com 2026-03-24T02:16:44.546Z 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,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:44.560Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 30 2026-03-24T02:16:44.560Z WARN 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Attempted to delete veterinarian 30 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-24T02:16:44.569Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 32 2026-03-24T02:16:44.569Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 32 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 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-24T02:16:44.581Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: YC0JYOePYC 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-24T02:16:44.592Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 38 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-24T02:16:44.602Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 41 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-24T02:16:44.611Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 44 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-24T02:16:44.619Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 47 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-24T02:16:44.628Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 50 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-24T02:16:44.636Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 53 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-24T02:16:44.644Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 999 2026-03-24T02:16:44.645Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 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,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=? [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.630 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-24T02:16:44.650Z 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-24T02:16:44.652Z 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-24T02:16:44.673Z 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-24T02:16:44.674Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:44.731Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:44.749Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:44.760Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:44.769Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e46a44dc-3c28-4869-bf4e-950d6bba616f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:44.782Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:44.784Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:44.796Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:44.797Z 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-24T02:16:44.797Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@78129bb9'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:44.945Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:44.978Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:45.125Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.47 seconds (process running for 23.179) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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,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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.151Z 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.164Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 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,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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.173Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 mock_user (id) values (?) 2026-03-24T02:16:45.203Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: duplicate@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: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.223Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.231Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.239Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.247Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: null Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.256Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.296Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 44 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.308Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 47 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.328Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 53 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.346Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 (?) 2026-03-24T02:16:45.357Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 62 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,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: 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.375Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: newunique@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 mock_user (id) values (?) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.387Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: email_sin_arroba.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.394Z 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.407Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 78 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.416Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: correo-sin-arroba.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.423Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: a8sjMKGer2 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.430Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.444Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.458Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.467Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valido@test.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:16:45.474Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 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,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=? [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.827 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-24T02:16:45.480Z 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-24T02:16:45.485Z 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-24T02:16:45.502Z 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-24T02:16:45.502Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:45.566Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:45.583Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:45.595Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:45.604Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d6cdb30f-f72c-4c1b-bee3-a6faeee82629;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:45.618Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:45.619Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:45.627Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:45.628Z 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-24T02:16:45.629Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6845ff0a'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:45.740Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:45.764Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:45.888Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.4 seconds (process running for 23.943) 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-24T02:16:45.898Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 4 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-24T02:16:45.905Z 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-24T02:16:45.911Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:45.913Z 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-24T02:16:45.919Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:45.926Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 17 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-24T02:16:45.933Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 21 2026-03-24T02:16:45.934Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 21 updated 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) 2026-03-24T02:16:45.940Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 22 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-24T02:16:45.947Z 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,mh1_0.last_checkout,mh1_0.notes,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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:45.955Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 31 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-24T02:16:45.961Z 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-24T02:16:45.970Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:45.976Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 41 2026-03-24T02:16:45.977Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 41 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) 2026-03-24T02:16:45.984Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 42 2026-03-24T02:16:45.984Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 42 updated 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-24T02:16:45.990Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 48 2026-03-24T02:16:45.991Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 48 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-24T02:16:45.998Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 52 2026-03-24T02:16:45.998Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 52 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) 2026-03-24T02:16:46.005Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:46.011Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 59 2026-03-24T02:16:46.011Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 59 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) 2026-03-24T02:16:46.018Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 60 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-24T02:16:46.024Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-24T02:16:46.024Z 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-24T02:16:46.030Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-24T02:16:46.030Z 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-24T02:16:46.036Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 74 2026-03-24T02:16:46.036Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 74 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-24T02:16:46.042Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 78 2026-03-24T02:16:46.042Z WARN 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Attempted to delete trial cohabitation 78 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-24T02:16:46.048Z 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-24T02:16:46.052Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting process to consult trial cohabitation with id = 82 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-24T02:16:46.058Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:16:46.064Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-24T02:16:46.064Z 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-24T02:16:46.070Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 95 2026-03-24T02:16:46.071Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 95 updated 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-24T02:16:46.088Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 99 2026-03-24T02:16:46.089Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 99 updated 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) 2026-03-24T02:16:46.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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:16:46.101Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 106 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-24T02:16:46.107Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 107 2026-03-24T02:16:46.108Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 107 updated successfully [INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.631 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest 2026-03-24T02:16:46.112Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReportServiceTest]: ReportServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:46.116Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReportServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:46.129Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Starting ReportServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:46.129Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:46.181Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:46.198Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:46.212Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:46.221Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:41e9baa6-d1dd-4f79-affc-539385725161;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:46.234Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:46.235Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:46.243Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:46.244Z 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-24T02:16:46.244Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2789c008'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:46.349Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:46.373Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:46.489Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.371 seconds (process running for 24.543) Hibernate: delete from report_entity re1_0 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 report_strategy_entity (id) values (default) Hibernate: insert into medical_event_report_strategy_entity (id) values (?) 2026-03-24T02:16:46.496Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte Hibernate: insert into report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from report_entity re1_0 Hibernate: insert into report_strategy_entity (id) values (default) Hibernate: insert into return_report_strategy_entity (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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 where re1_0.strategy_id=? Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select rse1_0.id,case when rse1_1.id is not null then 1 when rse1_2.id is not null then 2 when rse1_3.id is not null then 3 end from report_strategy_entity rse1_0 left join adoption_report_strategy_entity rse1_1 on rse1_0.id=rse1_1.id left join medical_event_report_strategy_entity rse1_2 on rse1_0.id=rse1_2.id left join return_report_strategy_entity rse1_3 on rse1_0.id=rse1_3.id where rse1_0.id=? Hibernate: delete from report_entity re1_0 2026-03-24T02:16:46.520Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte 2026-03-24T02:16:46.520Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte 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-24T02:16:46.522Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:16:46.536Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Eliminando reporte con id: 5 Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from report_entity re1_0 2026-03-24T02:16:46.558Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Eliminando reporte con id: 999 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into report_strategy_entity (id) values (default) Hibernate: insert into adoption_report_strategy_entity (id) values (?) Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 where re1_0.generate_date=? Hibernate: delete from report_entity re1_0 Hibernate: insert into report_strategy_entity (id) values (default) Hibernate: insert into return_report_strategy_entity (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-24T02:16:46.578Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte Hibernate: insert into report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from report_entity re1_0 Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.479 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-24T02:16:46.591Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest]: MedicalHistoryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:46.595Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:46.628Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:46.628Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:46.676Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:46.692Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:46.703Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:46.712Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:363a40f2-3e39-4a55-a25d-e2b811293424;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:46.724Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:46.726Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:46.733Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:46.734Z 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-24T02:16:46.734Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@56834b7d'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:46.836Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:46.857Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:46.971Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.373 seconds (process running for 25.025) 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:46.983Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando eliminación de la historia clínica ID: 999999 Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:16:46.985Z ERROR 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Intento de eliminar historia clínica inexistente con ID: 999999 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:46.995Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 4 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.005Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 7 2026-03-24T02:16:47.005Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica con id = 7 actualizada exitosamente 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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-24T02:16:47.041Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 123456789 Hibernate: select mhe1_0.id,mhe1_0.description,mhe1_0.last_checkout,mhe1_0.notes,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,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 from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where mhe1_0.id=? 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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-24T02:16:47.067Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica Hibernate: select mhe1_0.id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? fetch first ? rows only Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.071Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica creada exitosamente 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.085Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando eliminación de la historia clínica ID: 19 Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:16:47.087Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica ID: 19 eliminada exitosamente 2026-03-24T02:16:47.087Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 19 2026-03-24T02:16:47.088Z ERROR 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica con id 19 no encontrada 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.102Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.114Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.128Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 27 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:16:47.143Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica Hibernate: select mhe1_0.id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? fetch first ? rows only [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.557 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-24T02:16:47.151Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineServiceTest]: VaccineServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:16:47.158Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:16:47.176Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Starting VaccineServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:47.176Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:16:47.243Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:47.265Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:47.279Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:16:47.290Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2196fe1f-048e-4534-8cdc-52a80d9fe432;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:16:47.307Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:47.308Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:47.318Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:47.319Z 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-24T02:16:47.319Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@12e89057'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:16:47.476Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:16:47.502Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:47.645Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.484 seconds (process running for 25.7) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select ve1_0.id,ve1_0.description,ve1_0.name,ve1_0.validity_months from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.569 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-24T02:16:47.737Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:16:47.895Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:16:47.902Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.908Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:16:47.913Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.917Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:16:47.921Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.926Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:16:47.930Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.934Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.938Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.942Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.946Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.949Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.953Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.957Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.961Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:16:47.964Z INFO 92 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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 [INFO] [INFO] Results: [INFO] [INFO] Tests run: 388, 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 43 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-24T02:16:50.352Z INFO 189 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 189 (/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/classes started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:16:50.355Z INFO 189 --- [ main] c.e.udistrital.mdp.pets.MainApplication : The following 1 profile is active: "integration-tests" 2026-03-24T02:16:51.141Z INFO 189 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:16:51.252Z INFO 189 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 102 ms. Found 20 JPA repository interfaces. 2026-03-24T02:16:51.818Z INFO 189 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8999 (http) 2026-03-24T02:16:51.832Z INFO 189 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-03-24T02:16:51.833Z INFO 189 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.50] 2026-03-24T02:16:51.877Z INFO 189 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-03-24T02:16:51.878Z INFO 189 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1479 ms 2026-03-24T02:16:52.060Z INFO 189 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:16:52.105Z INFO 189 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-24T02:16:52.144Z INFO 189 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:16:52.409Z INFO 189 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:16:52.437Z INFO 189 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-03-24T02:16:52.618Z INFO 189 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:pets user=SA 2026-03-24T02:16:52.620Z INFO 189 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-03-24T02:16:52.644Z WARN 189 --- [ 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-24T02:16:52.664Z INFO 189 --- [ 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-24T02:16:54.035Z INFO 189 --- [ 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-24T02:16:54.147Z INFO 189 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:54.608Z INFO 189 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-24T02:16:55.644Z INFO 189 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-24T02:16:55.715Z INFO 189 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8999 (http) with context path '/api' 2026-03-24T02:16:55.725Z INFO 189 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 5.873 seconds (process running for 6.485) [INFO] [INFO] --- exec:1.6.0:exec (combine-collection) @ MP_202610_G81_E1_Back --- Collection 'Default Tests' was successfully added. Collection 'pets collection' 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-24T02:16:56.619Z INFO 189 --- [on(3)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested. 2026-03-24T02:16:56.622Z INFO 189 --- [on(3)-127.0.0.1] o.s.b.w.e.tomcat.GracefulShutdown : Commencing graceful shutdown. Waiting for active requests to complete 2026-03-24T02:16:56.626Z INFO 189 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown : Graceful shutdown complete 2026-03-24T02:16:56.630Z INFO 189 --- [on(3)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:16:56.652Z INFO 189 --- [on(3)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2026-03-24T02:16:56.655Z INFO 189 --- [on(3)-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: 41.149 s [INFO] Finished at: 2026-03-24T02:16:56Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 7a0d9f40505b172d903ece2f5f4a046253be2dd83bc8e0b2bc2fccfb1c512106 $ docker rm -f --volumes 7a0d9f40505b172d903ece2f5f4a046253be2dd83bc8e0b2bc2fccfb1c512106 [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 4a23e3dafb36ce528d7dfa01acce6244b2995a6e8b4d19239353958725c42bf9 -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.strategies.NotificationStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 s -- in co.edu.udistrital.mdp.pets.strategies.NotificationStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s -- in co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.strategies.ReportStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s -- in co.edu.udistrital.mdp.pets.strategies.ReportStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:04.979Z INFO 71 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : Starting ApplicationConfigTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:04.994Z INFO 71 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:05.454Z INFO 71 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : Started ApplicationConfigTest in 0.954 seconds (process running for 3.129) 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 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 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.712 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-03-24T02:17:06.614Z INFO 71 --- [ main] t.c.s.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. 2026-03-24T02:17:06.692Z INFO 71 --- [ main] .b.t.c.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-24T02:17:06.758Z 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-24T02:17:06.759Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:07.172Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:07.308Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 121 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:07.427Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:07.556Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5dddb0d9-3c7d-4674-950c-f4f1944bbdb7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:08.164Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:08.255Z INFO 71 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-24T02:17:08.311Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:08.552Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:08.640Z 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-24T02:17:08.676Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@30bb4248'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:10.951Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:11.135Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:11.830Z INFO 71 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-24T02:17:12.847Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 6.128 seconds (process running for 10.522) 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-24T02:17:13.127Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user 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-24T02:17:13.184Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 4 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-24T02:17:13.207Z 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-24T02:17:13.238Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 11 2026-03-24T02:17:13.238Z WARN 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Attempted to delete adopter 11 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-24T02:17:13.260Z 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-24T02:17:13.302Z 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-24T02:17:13.321Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 22 2026-03-24T02:17:13.321Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 22 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:17:13.431Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 999 2026-03-24T02:17:13.431Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:17:13.455Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Starting creation process for adopter: nuevo_adopter@test.com 2026-03-24T02:17:13.455Z 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_1.id is not null then 1 when ue1_2.id is not null then 2 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 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_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:17:13.498Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 35 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-24T02:17:13.516Z 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-24T02:17:13.532Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 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 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_1.id is not null then 1 when ue1_2.id is not null then 2 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 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-24T02:17:13.572Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 48 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-24T02:17:13.592Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 50 2026-03-24T02:17:13.593Z WARN 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Attempted to delete adopter 50 with active adoption requests [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.991 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-24T02:17:13.600Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:13.603Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:13.629Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:13.630Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:13.739Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:13.770Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:13.795Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:13.811Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0de6a310-bbab-41b8-a938-dda96e99e3d6;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:13.850Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:13.852Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:13.861Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:13.862Z 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-24T02:17:13.863Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@25a30529'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:14.070Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:14.139Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:14.361Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.754 seconds (process running for 12.036) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select mee1_0.id,mee1_0.description,mee1_0.diagnosis,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.description,mh1_0.last_checkout,mh1_0.notes,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,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,mee1_0.treatment,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone,v1_0.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,v1_0.specialty from medical_event_entity mee1_0 left join medical_history_entity mh1_0 on mh1_0.id=mee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mee1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mee1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.402Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.461Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.488Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de eliminación para evento médico ID: 18 Hibernate: select count(*) from medical_event_entity mee1_0 where mee1_0.id=? 2026-03-24T02:17:14.493Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con ID: 18 eliminado exitosamente 2026-03-24T02:17:14.494Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 18 2026-03-24T02:17:14.494Z ERROR 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con id 18 no encontrado Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.507Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de eliminación para evento médico ID: 888888 Hibernate: select count(*) from medical_event_entity mee1_0 where mee1_0.id=? 2026-03-24T02:17:14.509Z ERROR 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Intento de eliminar evento médico inexistente con ID: 888888 Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.537Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:17:14.539Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico creado exitosamente Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.553Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:17:14.555Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico creado exitosamente Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.568Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 999999 Hibernate: select mee1_0.id,mee1_0.description,mee1_0.diagnosis,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.description,mh1_0.last_checkout,mh1_0.notes,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,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,mee1_0.treatment,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone,v1_0.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,v1_0.specialty from medical_event_entity mee1_0 left join medical_history_entity mh1_0 on mh1_0.id=mee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mee1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mee1_0.id=? 2026-03-24T02:17:14.570Z ERROR 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con id 999999 no encontrado Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.583Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.609Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Iniciando proceso de creación para un evento médico Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.621Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 45 Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:14.633Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando todos los eventos médicos Hibernate: select mee1_0.id,mee1_0.description,mee1_0.diagnosis,mee1_0.event_date,mee1_0.event_type,mee1_0.medical_history_id,mee1_0.treatment,mee1_0.veterinarian_id from medical_event_entity mee1_0 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.042 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-24T02:17:14.648Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:14.659Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:14.702Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:14.702Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:14.783Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:14.808Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:14.829Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:14.843Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:515e8d8d-f50f-439a-bfd9-fd7308196fbc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:14.864Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:14.866Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:14.874Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:14.876Z 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-24T02:17:14.876Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@57f58606'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:15.070Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:15.129Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:15.325Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.662 seconds (process running for 12.999) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.363Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Updating message with id = 4 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select me1_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,me1_0.content,me1_0.is_read,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,me1_0.timestamp from message_entity me1_0 left join adopter_entity a1_0 on a1_0.id=me1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join shelter_entity s1_0 on s1_0.id=me1_0.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.412Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 13 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.427Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 999 Hibernate: select me1_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,me1_0.content,me1_0.is_read,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,me1_0.timestamp from message_entity me1_0 left join adopter_entity a1_0 on a1_0.id=me1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join shelter_entity s1_0 on s1_0.id=me1_0.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:17:15.565Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Creating message between adopter 13 and shelter 13 Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.582Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 41 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 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-24T02:17:15.617Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 47 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:17:15.655Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Creating message between adopter 19 and shelter 18 Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.692Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Updating message with id = 60 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.708Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Deleting message with id = 63 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select me1_0.id,me1_0.adopter_id,me1_0.content,me1_0.is_read,me1_0.shelter_id,me1_0.timestamp from message_entity me1_0 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) 2026-03-24T02:17:15.764Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Updating message with id = 72 Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? Hibernate: select me1_0.id,me1_0.adopter_id,me1_0.content,me1_0.is_read,me1_0.shelter_id,me1_0.timestamp from message_entity me1_0 left join shelter_entity s1_0 on s1_0.id=me1_0.shelter_id where s1_0.id=? Hibernate: delete from message_entity me1_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: delete from shelter_entity se1_0 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 shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: insert into message_entity (adopter_id,content,is_read,shelter_id,timestamp,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select me1_0.id,me1_0.adopter_id,me1_0.content,me1_0.is_read,me1_0.shelter_id,me1_0.timestamp from message_entity me1_0 left join adopter_entity a1_0 on a1_0.id=me1_0.adopter_id where a1_0.id=? [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.183 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest 2026-03-24T02:17:15.833Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest]: ShelterEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:15.836Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:15.859Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Starting ShelterEventServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:15.859Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:15.936Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:15.962Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:15.981Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:15.993Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b1e3c301-25a6-4621-98ad-409ac70bd908;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:16.011Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:16.013Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:16.021Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:16.022Z 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-24T02:17:16.023Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6fb28844'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:16.178Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:16.226Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:16.403Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Started ShelterEventServiceTest in 0.564 seconds (process running for 14.078) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:16.419Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 2026-03-24T02:17:16.421Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:17:16.451Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Creating shelter event: Event with null status Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:16.464Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 8 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:16.486Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 14 2026-03-24T02:17:16.487Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Deleting shelter event with id = 14 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select see1_0.id,see1_0.date,see1_0.description,see1_0.location,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,see1_0.status,see1_0.title from shelter_event_entity see1_0 left join shelter_entity s1_0 on s1_0.id=see1_0.shelter_id where see1_0.id=? 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select see1_0.id,see1_0.date,see1_0.description,see1_0.location,see1_0.shelter_id,see1_0.status,see1_0.title from shelter_event_entity see1_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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:16.561Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Updating shelter event with id = 32 Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: select count(*) from shelter_entity se1_0 where se1_0.id=? 2026-03-24T02:17:16.677Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Creating shelter event: Feria de Adopción Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:16.688Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 54 2026-03-24T02:17:16.690Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Updating shelter event with id = 54 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_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:16.701Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Deleting shelter event with id = 57 [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.872 s -- in co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-03-24T02:17:16.706Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:16.712Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:16.734Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:16.734Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:16.801Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:16.824Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:16.842Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:16.853Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:3442ce6e-5966-4f49-adea-de4e793bda27;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:16.871Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:16.872Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:16.880Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:16.881Z 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-24T02:17:16.882Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4a0702b'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:17.039Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:17.082Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:17.301Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.586 seconds (process running for 14.976) Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:17:17.320Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 1 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:17.338Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 1 to APPROVED Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:17:17.348Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 2 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:17.351Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 2 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:17:17.361Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 3 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:17.363Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 3 to APPROVED 2026-03-24T02:17:17.364Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 3 to REJECTED Hibernate: insert into pet_entity (activity_level,age,breed,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 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 are1_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,as1_0.id,as1_0.approval_type,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,mh1_0.last_checkout,mh1_0.notes,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,are1_0.request_date,are1_0.status,tc1_0.id,a2_0.id,a3_0.id,a3_1.email,a3_1.name,a3_1.password,a3_1.phone,a3_0.has_children,a3_0.has_other_pets,a3_0.housing_type,a2_0.adoption_date,p2_0.id,p2_0.activity_level,p2_0.age,p2_0.breed,p2_0.description,p2_0.good_with_kids,p2_0.good_with_pets,mh2_0.id,mh2_0.description,mh2_0.last_checkout,mh2_0.notes,p2_0.name,p2_0.origin,p2_0.photos,p2_0.sex,p2_0.shelter_id,p2_0.size,p2_0.space_required,p2_0.special_needs,p2_0.species,p2_0.status,p2_0.temperament,a2_0.status,tc1_0.end_date,tc1_0.pet_id,tc1_0.result,tc1_0.start_date,tc1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join approval_strategy_entity as1_0 on as1_0.id=are1_0.strategy_id left join pet_entity p1_0 on p1_0.id=are1_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 tc1_0.id=are1_0.trial_cohabitation_id left join adoption_entity a2_0 on a2_0.id=tc1_0.adoption_id left join adopter_entity a3_0 on a3_0.id=a2_0.adopter_id left join user_entity a3_1 on a3_0.id=a3_1.id left join pet_entity p2_0 on p2_0.id=a2_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id where are1_0.id=? Hibernate: insert into pet_entity (activity_level,age,breed,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 user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 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-24T02:17:17.393Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 5 Hibernate: insert into pet_entity (activity_level,age,breed,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 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-24T02:17:17.402Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Creating adoption request for pet: 6 Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.strategy_id,are1_0.pet_id,are1_0.request_date,are1_0.status,are1_0.trial_cohabitation_id from adoption_request_entity are1_0 where are1_0.adopter_id=? and are1_0.pet_id=? Hibernate: insert into adoption_request_entity (adopter_id,strategy_id,pet_id,request_date,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.702 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-24T02:17:17.410Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:17.412Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:17.434Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:17.434Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:17.498Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:17.521Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:17.536Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:17.546Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:59fb5568-ae3e-4a25-822f-852a9e811e59;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:17.561Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:17.562Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:17.571Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:17.573Z 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-24T02:17:17.573Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5e6ebdaf'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:17.718Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:17.756Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:17.934Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.519 seconds (process running for 15.609) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.006Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Marking notification 13 as read Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.018Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Deleting notification with id = 999 Hibernate: select count(*) from notification_entity ne1_0 where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.032Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Updating notification with id = 19 Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? 2026-03-24T02:17:18.050Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Creating notification for user: 8 Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.081Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Marking notification 999 as read Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.093Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Setting strategy 999 to notification 35 Hibernate: select nse1_0.id,nse1_0.notification_type from notification_strategy_entity nse1_0 where nse1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? 2026-03-24T02:17:18.107Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Creating notification for user: 13 Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ne1_0.strategy_id,ne1_0.user_id from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id where u1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ne1_0.strategy_id,ne1_0.user_id from notification_entity ne1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: select count(*) from notification_strategy_entity nse1_0 where nse1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 2026-03-24T02:17:18.159Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Updating notification with id = 999 Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.180Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Updating notification with id = 57 Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 2026-03-24T02:17:18.191Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Setting strategy 64 to notification 60 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 2026-03-24T02:17:18.202Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Setting strategy 68 to notification 999 Hibernate: select ne1_0.id,ne1_0.date,ne1_0.is_read,ne1_0.message,ns1_0.id,ns1_0.notification_type,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone,u1_1.has_children,u1_1.has_other_pets,u1_1.housing_type,u1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,u1_2.specialty from notification_entity ne1_0 left join notification_strategy_entity ns1_0 on ns1_0.id=ne1_0.strategy_id left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from notification_strategy_entity nse1_0 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 adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) Hibernate: insert into notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) 2026-03-24T02:17:18.244Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Deleting notification with id = 75 Hibernate: select count(*) from notification_entity ne1_0 where ne1_0.id=? [INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.841 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest 2026-03-24T02:17:18.251Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest]: AdoptionFollowUpServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:18.257Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:18.273Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Starting AdoptionFollowUpServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:18.273Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:18.331Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:18.353Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:18.368Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:18.378Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:df2095c5-7647-4956-8040-3fd6e969f7be;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:18.394Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:18.396Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:18.403Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:18.404Z 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-24T02:17:18.404Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2c79dc52'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:18.539Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:18.575Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:18.741Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Started AdoptionFollowUpServiceTest in 0.481 seconds (process running for 16.415) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) 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,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: select afue1_0.id,afue1_0.adoption_id,afue1_0.follow_up_date,afue1_0.frequency,afue1_0.notes,afue1_0.pet_id,afue1_0.veterinarian_id from adoption_follow_up_entity afue1_0 left join adoption_entity a1_0 on a1_0.id=afue1_0.adoption_id where a1_0.id=? Hibernate: select afue1_0.id,afue1_0.adoption_id,afue1_0.follow_up_date,afue1_0.frequency,afue1_0.notes,afue1_0.pet_id,afue1_0.veterinarian_id from adoption_follow_up_entity afue1_0 left join veterinarian_entity v1_0 on v1_0.id=afue1_0.veterinarian_id where v1_0.id=? Hibernate: select afue1_0.id,afue1_0.adoption_id,afue1_0.follow_up_date,afue1_0.frequency,afue1_0.notes,afue1_0.pet_id,afue1_0.veterinarian_id from adoption_follow_up_entity afue1_0 where afue1_0.frequency=? Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_0 2026-03-24T02:17:18.774Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) 2026-03-24T02:17:18.784Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción 2026-03-24T02:17:18.785Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_0 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 pet_entity (activity_level,age,breed,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) 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-24T02:17:18.821Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción Hibernate: insert into adoption_follow_up_entity (adoption_id,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from adoption_follow_up_entity afue1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from mock_user to_delete_ Hibernate: delete from user_entity ue1_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 adoption_entity (adopter_id,adoption_date,pet_id,status,id) values (?,?,?,?,default) 2026-03-24T02:17:18.831Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.584 s -- in co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest 2026-03-24T02:17:18.836Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest]: VaccinationRecordServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:18.838Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:18.854Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Starting VaccinationRecordServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:18.854Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:18.912Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:18.932Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:18.946Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:18.956Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2ac53c9a-62eb-497f-85fb-b950ea93619e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:18.969Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:18.971Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:18.978Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:18.979Z 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-24T02:17:18.979Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@79309c8e'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 Hibernate: create global temporary table HTE_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:19.100Z 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:19.131Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:19.288Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Started VaccinationRecordServiceTest in 0.448 seconds (process running for 16.963) Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select vre1_0.id,vre1_0.application_date,vre1_0.medical_history_id,vre1_0.next_due_date,vre1_0.pet_id,vre1_0.vaccination_date,vre1_0.vaccine_id,vre1_0.veterinarian_id from vaccination_record_entity vre1_0 Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:19.334Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select count(*) from vaccination_record_entity vre1_0 where vre1_0.id=? Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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-24T02:17:19.480Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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-24T02:17:19.498Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) 2026-03-24T02:17:19.516Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) 2026-03-24T02:17:19.532Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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-24T02:17:19.548Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:19.564Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select vre1_0.id,vre1_0.application_date,mh1_0.id,mh1_0.description,mh1_0.last_checkout,mh1_0.notes,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,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,vre1_0.next_due_date,p2_0.id,p2_0.activity_level,p2_0.age,p2_0.breed,p2_0.description,p2_0.good_with_kids,p2_0.good_with_pets,mh2_0.id,mh2_0.description,mh2_0.last_checkout,mh2_0.notes,p2_0.name,p2_0.origin,p2_0.photos,p2_0.sex,p2_0.shelter_id,p2_0.size,p2_0.space_required,p2_0.special_needs,p2_0.species,p2_0.status,p2_0.temperament,vre1_0.vaccination_date,v1_0.id,v1_0.description,v1_0.name,v1_0.validity_months,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone,v2_0.availability,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,v2_0.specialty from vaccination_record_entity vre1_0 left join medical_history_entity mh1_0 on mh1_0.id=vre1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join pet_entity p2_0 on p2_0.id=vre1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join vaccine_entity v1_0 on v1_0.id=vre1_0.vaccine_id left join veterinarian_entity v2_0 on v2_0.id=vre1_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id where vre1_0.id=? Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:19.609Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) 2026-03-24T02:17:19.625Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from vaccination_record_entity vre1_0 Hibernate: delete from vaccine_entity ve1_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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,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 vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccination_record_entity (application_date,medical_history_id,next_due_date,pet_id,vaccination_date,vaccine_id,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:19.640Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordService : Iniciando el proceso de creación del registro de vacunación [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.807 s -- in co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-24T02:17:19.645Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:19.651Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:19.666Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:19.667Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:19.737Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:19.756Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:19.770Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:19.779Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:3342f3ba-3ecd-4d14-9923-280414e0024d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:19.794Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:19.795Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:19.802Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:19.803Z 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-24T02:17:19.803Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@64020bab'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:19.924Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:19.955Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:20.090Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.437 seconds (process running for 17.765) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.comment,re1_0.date,re1_0.pet_id,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id where a1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.135Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Creating review for adopter 3 and pet 3 Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: select ae1_0.id from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id where a1_0.id=? and p1_0.id=? fetch first ? rows only Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.156Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Updating review with id = 999 Hibernate: select re1_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,re1_0.comment,re1_0.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,mh1_0.last_checkout,mh1_0.notes,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,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_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=re1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 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-24T02:17:20.170Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Creating review for adopter 6 and pet 5 Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: select ae1_0.id from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id where a1_0.id=? and p1_0.id=? fetch first ? rows only Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.198Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Deleting review with id = 20 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.209Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Updating review with id = 23 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from pet_entity pe1_0 where pe1_0.id=? Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.comment,re1_0.date,re1_0.pet_id,re1_0.rating from review_entity re1_0 left join pet_entity p1_0 on p1_0.id=re1_0.pet_id where p1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select count(*) from adopter_entity ae1_0 where ae1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.293Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Deleting review with id = 44 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.306Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Updating review with id = 47 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.comment,re1_0.date,re1_0.pet_id,re1_0.rating from review_entity re1_0 Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) 2026-03-24T02:17:20.330Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Deleting review with id = 999 Hibernate: select re1_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,re1_0.comment,re1_0.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,mh1_0.last_checkout,mh1_0.notes,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,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_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=re1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: select re1_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,re1_0.comment,re1_0.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,mh1_0.last_checkout,mh1_0.notes,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,re1_0.rating from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_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=re1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: delete from pet_entity pe1_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 pet_entity (activity_level,age,breed,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) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,comment,date,pet_id,rating,id) values (?,?,?,?,?,default) [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.733 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-24T02:17:20.379Z 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-24T02:17:20.385Z 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-24T02:17:20.400Z 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-24T02:17:20.400Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:20.452Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:20.472Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:20.484Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:20.493Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:74155cba-2b61-4bdb-b6b0-8affd702461c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:20.507Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:20.508Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:20.515Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:20.516Z 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-24T02:17:20.517Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@375d50e9'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:20.633Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:20.662Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:20.794Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.407 seconds (process running for 18.469) 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-24T02:17:20.803Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 1 2026-03-24T02:17:20.804Z 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-24T02:17:20.812Z 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-24T02:17:20.822Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting creation process for adoption 2026-03-24T02:17:20.822Z 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-24T02:17:20.830Z 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,mh1_0.last_checkout,mh1_0.notes,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,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:20.840Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 14 2026-03-24T02:17:20.840Z 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-24T02:17:20.847Z 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-24T02:17:20.855Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:20.856Z 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-24T02:17:20.863Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 23 2026-03-24T02:17:20.864Z 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-24T02:17:20.870Z 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-24T02:17:20.878Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 29 2026-03-24T02:17:20.878Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Adoption with ID: 29 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-24T02:17:20.885Z 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-24T02:17:20.892Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:20.899Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 38 2026-03-24T02:17:20.899Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Adoption with id = 38 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-24T02:17:20.906Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 41 [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.530 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-24T02:17:20.911Z 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-24T02:17:20.916Z 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-24T02:17:20.931Z 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-24T02:17:20.931Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:20.982Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:21.001Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:21.030Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:21.040Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:43b2bf9c-d945-4ccc-b8ad-9dccce477a69;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:21.053Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:21.055Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:21.061Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:21.062Z 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-24T02:17:21.063Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2af0c0'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:21.171Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:21.198Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:21.325Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.407 seconds (process running for 19.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_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-24T02:17:21.336Z 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-24T02:17:21.356Z 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-24T02:17:21.363Z 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-24T02:17:21.368Z 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) 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 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-24T02:17:21.386Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: yugPJcpPPb 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-24T02:17:21.397Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 17 2026-03-24T02:17:21.398Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 17 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-24T02:17:21.406Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: MwwQJKIcBp 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-24T02:17:21.413Z 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-24T02:17:21.423Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 29 2026-03-24T02:17:21.424Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 29 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-24T02:17:21.431Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 30 Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only 2026-03-24T02:17:21.433Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id = 30 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) Hibernate: insert into shelter_event_entity (date,description,location,shelter_id,status,title,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:21.441Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 33 2026-03-24T02:17:21.442Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 33 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-24T02:17:21.449Z 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-24T02:17:21.450Z 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: insert into notification_strategy_entity (notification_type,id) values ('EMAIL',default) 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 subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:17:21.467Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 1 subscribed to shelter 39 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:17:21.468Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 2 subscribed to shelter 39 Hibernate: update subscription_entity set active=?,shelter_id=?,user_id=? where id=? 2026-03-24T02:17:21.474Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Notifying 1 observers in shelter 39 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-24T02:17:21.489Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 45 2026-03-24T02:17:21.489Z 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-24T02:17:21.496Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: VOIJYe1FYE 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-24T02:17:21.503Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 51 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-24T02:17:21.512Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 54 2026-03-24T02:17:21.512Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 54 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-24T02:17:21.519Z 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-24T02:17:21.528Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 60 2026-03-24T02:17:21.528Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 60 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 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 subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:17:21.537Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 3 subscribed to shelter 63 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-24T02:17:21.544Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: I5dGIB1s1_ 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-24T02:17:21.569Z 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-24T02:17:21.578Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 72 2026-03-24T02:17:21.578Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 72 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-24T02:17:21.585Z 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-24T02:17:21.594Z 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-24T02:17:21.603Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: EA61pew59W 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-24T02:17:21.610Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: zJcVPnGJJF 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-24T02:17:21.616Z 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-24T02:17:21.625Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 90 2026-03-24T02:17:21.626Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 90 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-24T02:17:21.633Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: Ml3xdTz4I6 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-24T02:17:21.640Z 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-24T02:17:21.648Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 99 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) 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 subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-24T02:17:21.659Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 4 subscribed to shelter 102 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-24T02:17:21.666Z 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-24T02:17:21.669Z 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-24T02:17:21.676Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 109 2026-03-24T02:17:21.677Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 109 deleted successfully [INFO] Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.768 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-24T02:17:21.681Z 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-24T02:17:21.686Z 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-24T02:17:21.700Z 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-24T02:17:21.700Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:21.751Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:21.769Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:21.780Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:21.791Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8dbe6c03-7314-4fb8-a0eb-86f6ba91f04c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:21.805Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:21.807Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:21.814Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:21.815Z 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-24T02:17:21.815Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@ee6d890'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:21.924Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:21.950Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:22.108Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.42 seconds (process running for 19.783) 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-24T02:17:22.146Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:22.160Z 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,last_checkout,notes,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) 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-24T02:17:22.188Z 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-24T02:17:22.200Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:22.225Z 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-24T02:17:22.240Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: T3Sb33j4Yb 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-24T02:17:22.256Z 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,last_checkout,notes,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-24T02:17:22.270Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: l_pWxxaYmf 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-24T02:17:22.280Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: HMzUnLe7aE 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-24T02:17:22.289Z 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-24T02:17:22.299Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: U7whGGONx9 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-24T02:17:22.350Z 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-24T02:17:22.358Z 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=? 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) 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-24T02:17:22.395Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: LyrtvU2CcH 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-24T02:17:22.403Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: n9jx7IPLU_ 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-24T02:17:22.415Z 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-24T02:17:22.423Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: x4fAsTHQgO 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-24T02:17:22.443Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 9IuctO51At 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) 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-24T02:17:22.461Z 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) 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-24T02:17:22.481Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: KZp6lGznP_ 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-24T02:17:22.489Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: _Mn1HnfOza 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-24T02:17:22.505Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 7hnx1O0HVe 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-24T02:17:22.513Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: xSkUvVWLrV Hibernate: insert into pet_entity (activity_level,age,breed,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,last_checkout,notes,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: 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-24T02:17:22.532Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: Pemr5HuXkd 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) 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-24T02:17:22.557Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: W6k0KNsA8w 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-24T02:17:22.566Z 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-24T02:17:22.574Z 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,mh1_0.last_checkout,mh1_0.notes,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) 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:22.591Z 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) 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-24T02:17:22.607Z 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=? 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-24T02:17:22.625Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: ieVxPaECyc 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-24T02:17:22.633Z 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-24T02:17:22.642Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 5MiHYtcw7h 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-24T02:17:22.651Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: AR5KKoHmMC 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=? [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.984 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-24T02:17:22.667Z 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-24T02:17:22.669Z 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-24T02:17:22.685Z 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-24T02:17:22.685Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:22.740Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:22.758Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:22.771Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:22.780Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:434d82ae-cec1-4cc5-bb25-84c2dfc78f5e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:22.793Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:22.795Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:22.804Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:22.805Z 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-24T02:17:22.806Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@34b575d6'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:22.915Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:22.939Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:23.079Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.408 seconds (process running for 20.754) 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-24T02:17:23.091Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 1 2026-03-24T02:17:23.092Z 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-24T02:17:23.101Z 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-24T02:17:23.110Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 7 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-24T02:17:23.117Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 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,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 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 (description,diagnosis,event_date,event_type,medical_history_id,treatment,veterinarian_id,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:23.126Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 13 2026-03-24T02:17:23.127Z WARN 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Attempted to delete veterinarian 13 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-24T02:17:23.135Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 16 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-24T02:17:23.143Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 19 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-24T02:17:23.151Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 22 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-24T02:17:23.160Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: nuevo_vet@test.com 2026-03-24T02:17:23.160Z 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,follow_up_date,frequency,notes,pet_id,veterinarian_id,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:23.172Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 30 2026-03-24T02:17:23.172Z WARN 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Attempted to delete veterinarian 30 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-24T02:17:23.180Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 32 2026-03-24T02:17:23.181Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 32 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 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-24T02:17:23.191Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: ENjSe5SjQm 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-24T02:17:23.201Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 38 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-24T02:17:23.210Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 41 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-24T02:17:23.218Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 44 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-24T02:17:23.225Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 47 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-24T02:17:23.233Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 50 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-24T02:17:23.241Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 53 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-24T02:17:23.249Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 999 2026-03-24T02:17:23.249Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 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,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=? [INFO] Tests run: 19, 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-24T02:17:23.254Z 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-24T02:17:23.255Z 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-24T02:17:23.268Z 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-24T02:17:23.269Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:23.319Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:23.337Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:23.348Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:23.357Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0e57ae13-bfbd-4faa-bf94-253d0f181995;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:23.369Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:23.371Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:23.377Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:23.378Z 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-24T02:17:23.378Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1073b94'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:23.479Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:23.502Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:23.635Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.378 seconds (process running for 21.309) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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,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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.652Z 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.663Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 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,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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.671Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 mock_user (id) values (?) 2026-03-24T02:17:23.695Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: duplicate@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: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.712Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.719Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.725Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.732Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: null Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.738Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.750Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 44 Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.756Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 47 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.772Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 53 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.788Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 (?) 2026-03-24T02:17:23.797Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 62 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,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: 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.814Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: newunique@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 mock_user (id) values (?) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.823Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: email_sin_arroba.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.830Z 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.841Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 78 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.848Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: correo-sin-arroba.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.855Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: mPByBWGsrE Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.861Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.873Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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 notification_entity (date,is_read,message,strategy_id,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.887Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.894Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valido@test.com Hibernate: delete from notification_entity ne1_0 Hibernate: delete from adoption_entity ae1_0 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-24T02:17:23.900Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 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,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=? [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.650 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-24T02:17:23.905Z 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-24T02:17:23.910Z 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-24T02:17:23.923Z 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-24T02:17:23.923Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:23.972Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:23.989Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:24.000Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:24.009Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:af928218-b95f-4aef-829c-6a16d0179ec9;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:24.022Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:24.023Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:24.030Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:24.031Z 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-24T02:17:24.031Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@35f016d6'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:24.129Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:24.150Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:24.303Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.391 seconds (process running for 21.978) 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-24T02:17:24.319Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 4 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-24T02:17:24.328Z 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-24T02:17:24.334Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:24.336Z 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-24T02:17:24.342Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:24.349Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 17 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-24T02:17:24.356Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 21 2026-03-24T02:17:24.356Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 21 updated 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) 2026-03-24T02:17:24.362Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 22 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-24T02:17:24.369Z 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,mh1_0.last_checkout,mh1_0.notes,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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:24.376Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 31 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-24T02:17:24.383Z 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-24T02:17:24.392Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:24.398Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 41 2026-03-24T02:17:24.399Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 41 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) 2026-03-24T02:17:24.405Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 42 2026-03-24T02:17:24.406Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 42 updated 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-24T02:17:24.412Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 48 2026-03-24T02:17:24.412Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 48 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-24T02:17:24.419Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 52 2026-03-24T02:17:24.420Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 52 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) 2026-03-24T02:17:24.426Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:24.432Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 59 2026-03-24T02:17:24.433Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 59 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) 2026-03-24T02:17:24.441Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 60 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-24T02:17:24.447Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-24T02:17:24.447Z 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-24T02:17:24.453Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-24T02:17:24.453Z 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-24T02:17:24.459Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 74 2026-03-24T02:17:24.460Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with ID: 74 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-24T02:17:24.502Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 78 2026-03-24T02:17:24.503Z WARN 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Attempted to delete trial cohabitation 78 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-24T02:17:24.509Z 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-24T02:17:24.514Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting process to consult trial cohabitation with id = 82 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-24T02:17:24.519Z 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,mh1_0.last_checkout,mh1_0.notes,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-24T02:17:24.526Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-24T02:17:24.526Z 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-24T02:17:24.532Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 95 2026-03-24T02:17:24.532Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 95 updated 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-24T02:17:24.538Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 99 2026-03-24T02:17:24.539Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 99 updated 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) 2026-03-24T02:17:24.544Z 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) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-24T02:17:24.550Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 106 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-24T02:17:24.556Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 107 2026-03-24T02:17:24.556Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Trial cohabitation with id = 107 updated successfully [INFO] Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.654 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest 2026-03-24T02:17:24.561Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReportServiceTest]: ReportServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:24.565Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReportServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:24.585Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Starting ReportServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:24.585Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:24.636Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:24.654Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:24.665Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:24.674Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c57693de-cc5b-4de7-af5c-7af2b79926ea;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:24.688Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:24.689Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:24.697Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:24.698Z 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-24T02:17:24.699Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@457ca071'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:24.806Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:24.840Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:24.961Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.394 seconds (process running for 22.635) Hibernate: delete from report_entity re1_0 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 report_strategy_entity (id) values (default) Hibernate: insert into medical_event_report_strategy_entity (id) values (?) 2026-03-24T02:17:24.968Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte Hibernate: insert into report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from report_entity re1_0 Hibernate: insert into report_strategy_entity (id) values (default) Hibernate: insert into return_report_strategy_entity (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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 where re1_0.strategy_id=? Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select rse1_0.id,case when rse1_1.id is not null then 1 when rse1_2.id is not null then 2 when rse1_3.id is not null then 3 end from report_strategy_entity rse1_0 left join adoption_report_strategy_entity rse1_1 on rse1_0.id=rse1_1.id left join medical_event_report_strategy_entity rse1_2 on rse1_0.id=rse1_2.id left join return_report_strategy_entity rse1_3 on rse1_0.id=rse1_3.id where rse1_0.id=? Hibernate: delete from report_entity re1_0 2026-03-24T02:17:24.993Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte 2026-03-24T02:17:24.994Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte 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-24T02:17:24.995Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) 2026-03-24T02:17:25.010Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Eliminando reporte con id: 5 Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from report_entity re1_0 2026-03-24T02:17:25.032Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Eliminando reporte con id: 999 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into report_strategy_entity (id) values (default) Hibernate: insert into adoption_report_strategy_entity (id) values (?) Hibernate: delete from report_entity re1_0 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 report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,re1_0.strategy_id,re1_0.reported_user_id,re1_0.reporter_id,re1_0.shelter_id,re1_0.status from report_entity re1_0 where re1_0.generate_date=? Hibernate: delete from report_entity re1_0 Hibernate: insert into report_strategy_entity (id) values (default) Hibernate: insert into return_report_strategy_entity (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-24T02:17:25.053Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte Hibernate: insert into report_entity (generate_date,reason,strategy_id,reported_user_id,reporter_id,shelter_id,status,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from report_entity re1_0 Hibernate: delete from report_entity re1_0 Hibernate: select re1_0.id,re1_0.generate_date,re1_0.reason,rs1_0.id,case when rs1_1.id is not null then 1 when rs1_2.id is not null then 2 when rs1_3.id is not null then 3 end,ru1_0.id,case when ru1_3.id is not null then 1 when ru1_1.id is not null then 2 when ru1_2.id is not null then 3 end,ru1_0.email,ru1_0.name,ru1_0.password,ru1_0.phone,ru1_1.has_children,ru1_1.has_other_pets,ru1_1.housing_type,ru1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ru1_2.specialty,r1_0.id,case when r1_3.id is not null then 1 when r1_1.id is not null then 2 when r1_2.id is not null then 3 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone,r1_1.has_children,r1_1.has_other_pets,r1_1.housing_type,r1_2.availability,s2_0.id,s2_0.city,s2_0.description,s2_0.email,s2_0.gallery,s2_0.name,r1_2.specialty,s3_0.id,s3_0.city,s3_0.description,s3_0.email,s3_0.gallery,s3_0.name,re1_0.status from report_entity re1_0 left join report_strategy_entity rs1_0 on rs1_0.id=re1_0.strategy_id left join adoption_report_strategy_entity rs1_1 on rs1_0.id=rs1_1.id left join medical_event_report_strategy_entity rs1_2 on rs1_0.id=rs1_2.id left join return_report_strategy_entity rs1_3 on rs1_0.id=rs1_3.id left join user_entity ru1_0 on ru1_0.id=re1_0.reported_user_id left join adopter_entity ru1_1 on ru1_0.id=ru1_1.id left join veterinarian_entity ru1_2 on ru1_0.id=ru1_2.id left join mock_user ru1_3 on ru1_0.id=ru1_3.id left join shelter_entity s1_0 on s1_0.id=ru1_2.shelter_id left join user_entity r1_0 on r1_0.id=re1_0.reporter_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join mock_user r1_3 on r1_0.id=r1_3.id left join shelter_entity s2_0 on s2_0.id=r1_2.shelter_id left join shelter_entity s3_0 on s3_0.id=re1_0.shelter_id where re1_0.id=? [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.505 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-24T02:17:25.066Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest]: MedicalHistoryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:25.071Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:25.083Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:25.084Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:25.131Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:25.148Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:25.158Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:25.166Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d400a9d2-795a-4d8f-b820-e97a99083041;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:25.179Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:25.180Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:25.187Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:25.188Z 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-24T02:17:25.188Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@12a0463c'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:25.286Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:25.307Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:25.465Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.392 seconds (process running for 23.14) 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.480Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando eliminación de la historia clínica ID: 999999 Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:17:25.483Z ERROR 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Intento de eliminar historia clínica inexistente con ID: 999999 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.495Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 4 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.509Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 7 2026-03-24T02:17:25.510Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica con id = 7 actualizada exitosamente 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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-24T02:17:25.525Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 123456789 Hibernate: select mhe1_0.id,mhe1_0.description,mhe1_0.last_checkout,mhe1_0.notes,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,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 from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where mhe1_0.id=? 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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-24T02:17:25.542Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica Hibernate: select mhe1_0.id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? fetch first ? rows only Hibernate: insert into medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.545Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica creada exitosamente 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.557Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando eliminación de la historia clínica ID: 19 Hibernate: select count(*) from medical_history_entity mhe1_0 where mhe1_0.id=? 2026-03-24T02:17:25.559Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica ID: 19 eliminada exitosamente 2026-03-24T02:17:25.559Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 19 2026-03-24T02:17:25.560Z ERROR 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica con id 19 no encontrada 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.572Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.583Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.596Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 27 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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,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 medical_history_entity (description,last_checkout,notes,pet_id,id) values (?,?,?,?,default) 2026-03-24T02:17:25.608Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando la creación de la historia clínica Hibernate: select mhe1_0.id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? fetch first ? rows only [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.547 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-24T02:17:25.614Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineServiceTest]: VaccineServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-24T02:17:25.619Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-24T02:17:25.634Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Starting VaccineServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-24T02:17:25.634Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-24T02:17:25.690Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-24T02:17:25.710Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-24T02:17:25.723Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-24T02:17:25.733Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f194b224-cc4e-4ded-8d8d-35ad22646d3c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-24T02:17:25.748Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-24T02:17:25.749Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-24T02:17:25.757Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-24T02:17:25.758Z 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-24T02:17:25.758Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1003c98'] 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_report_strategy_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 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_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 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_medical_event_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, 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_return_report_strategy_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, primary key (HTE_IDENTITY)) TRANSACTIONAL 2026-03-24T02:17:25.871Z 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 (follow_up_date date, 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_report_strategy_entity (id bigint not null, 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, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id)) Hibernate: create table medical_event_report_strategy_entity (id bigint not null, primary key (id)) Hibernate: create table medical_history_entity (last_checkout date, id bigint generated by default as identity, pet_id bigint unique, notes varchar(1000), 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, notification_type varchar(31) not null, 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, reported_user_id bigint, reporter_id bigint, shelter_id bigint, strategy_id bigint, reason varchar(255), status enum ('PENDING','RESOLVED','REVIEWED'), primary key (id)) Hibernate: create table report_strategy_entity (id bigint generated by default as identity, primary key (id)) Hibernate: create table return_report_strategy_entity (id bigint not null, 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 subscription_entity (active boolean, id bigint generated by default as identity, shelter_id bigint, user_id bigint, 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, vaccination_date date, id bigint generated by default as identity, medical_history_id bigint, pet_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_report_strategy_entity add constraint FKktfiy86djtvw20h6565fl76bq foreign key (id) references report_strategy_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_event_report_strategy_entity add constraint FKsdm20588vdyki7ca5bfpu4ohi foreign key (id) references report_strategy_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 FK6jux60r77sw05uia08u9dvsm4 foreign key (reported_user_id) references user_entity Hibernate: alter table if exists report_entity add constraint FKe07325of08t46hkil1uoc038i foreign key (reporter_id) references user_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 return_report_strategy_entity add constraint FKjsru2p38nruuct0fu1q64p5lu foreign key (id) references report_strategy_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 subscription_entity add constraint FK4125j8wt2ul4p4dv9f57atjxq foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists subscription_entity add constraint FKckoo8jnsf7bkp8kceutmrg31h foreign key (user_id) references user_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 FKmgr6y74wfe15x04s9kwtod16f foreign key (pet_id) references pet_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-24T02:17:25.894Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-24T02:17:26.036Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.415 seconds (process running for 23.71) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select ve1_0.id,ve1_0.description,ve1_0.name,ve1_0.validity_months from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? Hibernate: delete from vaccine_entity ve1_0 Hibernate: insert into vaccine_entity (description,name,validity_months,id) values (?,?,?,default) Hibernate: select count(*) from vaccine_entity ve1_0 where ve1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.491 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-24T02:17:26.121Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:17:26.279Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:17:26.287Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.294Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:17:26.300Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.305Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:17:26.310Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.316Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity 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 return_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 subscription_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 2026-03-24T02:17:26.321Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.326Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.331Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.336Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.340Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.345Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.350Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.354Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.359Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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_event_report_strategy_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 return_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 subscription_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 2026-03-24T02:17:26.363Z INFO 71 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 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_report_strategy_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 [INFO] [INFO] Results: [INFO] [INFO] Tests run: 388, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25.591 s [INFO] Finished at: 2026-03-24T02:17:26Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 4a23e3dafb36ce528d7dfa01acce6244b2995a6e8b4d19239353958725c42bf9 $ docker rm -f --volumes 4a23e3dafb36ce528d7dfa01acce6244b2995a6e8b4d19239353958725c42bf9 [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 234016fe183db9a7f5f0f4aeede69367e637f3e6900a8c743ae19bf43651b15e -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... Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Progress (1): 3.1 kB Progress (1): 7.7 kB Progress (1): 12 kB Progress (1): 17 kB Progress (1): 20 kB Progress (1): 21 kB Progress (2): 21 kB | 4.6 kB Progress (2): 21 kB | 9.7 kB Progress (2): 21 kB | 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 22 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 29 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml Progress (1): 1.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.4 kB at 16 kB/s) [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] 02:17:32.277 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] 02:17:32.286 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 02:17:32.286 Linux 6.17.0-14-generic (amd64) [INFO] 02:17:32.324 User cache: /root/.sonar/cache [INFO] 02:17:32.890 Communicating with SonarQube Server 25.3.0.104237 [INFO] 02:17:32.912 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 02:17:33.739 Load global settings [INFO] 02:17:33.837 Load global settings (done) | time=100ms [INFO] 02:17:33.853 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 02:17:33.866 Loading required plugins [INFO] 02:17:33.866 Load plugins index [INFO] 02:17:33.914 Load plugins index (done) | time=48ms [INFO] 02:17:33.914 Load/download plugins [INFO] 02:17:34.154 Load/download plugins (done) | time=239ms [INFO] 02:17:34.557 Process project properties [INFO] 02:17:34.572 Process project properties (done) | time=15ms [INFO] 02:17:34.583 Project key: co.edu.udistrital.mdp:MP_202610_G81_E1_Back [INFO] 02:17:34.584 Base dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back [INFO] 02:17:34.584 Working dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/sonar [INFO] 02:17:34.592 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' [INFO] 02:17:34.608 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' (done) | time=16ms [INFO] 02:17:34.657 Load quality profiles [INFO] 02:17:34.701 Load quality profiles (done) | time=44ms [INFO] 02:17:34.715 Auto-configuring with CI 'Jenkins' [INFO] 02:17:34.752 Load active rules [INFO] 02:17:35.053 Load active rules (done) | time=301ms [INFO] 02:17:35.062 Load analysis cache [INFO] 02:17:35.082 Load analysis cache (4.6 kB) | time=20ms [INFO] 02:17:35.156 Preprocessing files... [INFO] 02:17:35.352 2 languages detected in 107 preprocessed files [INFO] 02:17:35.353 0 files ignored because of scm ignore settings [INFO] 02:17:35.355 Loading plugins for detected languages [INFO] 02:17:35.355 Load/download plugins [INFO] 02:17:35.695 Load/download plugins (done) | time=340ms [INFO] 02:17:35.811 Load project repositories [INFO] 02:17:35.920 Load project repositories (done) | time=109ms [INFO] 02:17:35.939 Indexing files... [INFO] 02:17:35.939 Project configuration: [INFO] 02:17:35.940 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/** [INFO] 02:17:35.959 107 files indexed [INFO] 02:17:35.960 Quality profile for java: Sonar way MP [INFO] 02:17:35.960 Quality profile for xml: Sonar way [INFO] 02:17:35.960 ------------- Run sensors on module MP_202610_G81_E1_Back [INFO] 02:17:36.019 Load metrics repository [INFO] 02:17:36.034 Load metrics repository (done) | time=15ms [INFO] 02:17:36.814 Sensor JavaSensor [java] [INFO] 02:17:36.818 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 02:17:36.846 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 02:17:36.848 Using ECJ batch to parse 84 Main java source files with batch size 104 KB. [INFO] 02:17:37.250 Starting batch processing. [INFO] 02:17:37.866 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 02:17:41.107 100% analyzed [INFO] 02:17:41.108 Batch processing: Done. [INFO] 02:17:41.110 Did not optimize analysis for any files, performed a full analysis for all 84 files. [WARNING] 02:17:41.114 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 02:17:41.115 Using ECJ batch to parse 22 Test java source files with batch size 104 KB. [INFO] 02:17:41.134 Starting batch processing. [INFO] 02:17:42.561 100% analyzed [INFO] 02:17:42.561 Batch processing: Done. [INFO] 02:17:42.562 Did not optimize analysis for any files, performed a full analysis for all 22 files. [INFO] 02:17:42.562 No "Generated" source files to scan. [INFO] 02:17:42.562 Sensor JavaSensor [java] (done) | time=5748ms [INFO] 02:17:42.563 Sensor SurefireSensor [java] [INFO] 02:17:42.565 parsing [/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/surefire-reports] [INFO] 02:17:42.706 Sensor SurefireSensor [java] (done) | time=143ms [INFO] 02:17:42.706 Sensor XML Sensor [xml] [INFO] 02:17:42.714 1 source file to be analyzed [INFO] 02:17:42.874 1/1 source file has been analyzed [INFO] 02:17:42.874 Sensor XML Sensor [xml] (done) | time=168ms [INFO] 02:17:42.874 Sensor JaCoCo XML Report Importer [jacoco] [WARNING] 02:17:42.876 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] 02:17:42.879 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 02:17:42.949 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=74ms [INFO] 02:17:42.949 Sensor Java Config Sensor [iac] [INFO] 02:17:42.969 0 source files to be analyzed [INFO] 02:17:42.969 0/0 source files have been analyzed [INFO] 02:17:42.970 Sensor Java Config Sensor [iac] (done) | time=21ms [INFO] 02:17:42.970 Sensor IaC Docker Sensor [iac] [INFO] 02:17:43.048 0 source files to be analyzed [INFO] 02:17:43.048 0/0 source files have been analyzed [INFO] 02:17:43.048 Sensor IaC Docker Sensor [iac] (done) | time=78ms [INFO] 02:17:43.048 Sensor TextAndSecretsSensor [text] [INFO] 02:17:43.049 Available processors: 4 [INFO] 02:17:43.049 Using 4 threads for analysis. [INFO] 02:17:43.476 Using git CLI to retrieve untracked files [WARNING] 02:17:43.481 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] 02:17:43.509 107 source files to be analyzed [INFO] 02:17:43.807 107/107 source files have been analyzed [INFO] 02:17:43.808 Sensor TextAndSecretsSensor [text] (done) | time=760ms [INFO] 02:17:43.812 ------------- Run sensors on project [INFO] 02:17:43.978 Sensor Zero Coverage Sensor [INFO] 02:17:43.980 Sensor Zero Coverage Sensor (done) | time=2ms [INFO] 02:17:43.980 Sensor Java CPD Block Indexer [INFO] 02:17:44.062 Sensor Java CPD Block Indexer (done) | time=82ms [INFO] 02:17:44.063 ------------- Gather SCA dependencies on project [INFO] 02:17:44.080 SCM Publisher SCM provider for this project is: git [INFO] 02:17:44.081 SCM Publisher 1 source file to be analyzed [INFO] 02:17:44.344 SCM Publisher 1/1 source file have been analyzed (done) | time=263ms [INFO] 02:17:44.357 CPD Executor 40 files had no CPD blocks [INFO] 02:17:44.361 CPD Executor Calculating CPD for 44 files [INFO] 02:17:44.387 CPD Executor CPD calculation finished (done) | time=25ms [INFO] 02:17:44.392 SCM revision ID 'a180ee02c87f07c660a48be44f65ffd08b10a30b' [INFO] 02:17:44.539 Analysis report generated in 132ms, dir size=902.0 kB [INFO] 02:17:44.787 Analysis report compressed in 247ms, zip size=350.1 kB [INFO] 02:17:44.827 Analysis report uploaded in 40ms [INFO] 02:17:44.828 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] 02:17:44.828 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 02:17:44.829 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=5dbb8b9a-2a81-4901-94da-b4f9d7b55dde [INFO] 02:17:44.863 Analysis total time: 10.655 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.900 s [INFO] Finished at: 2026-03-24T02:17:44Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 234016fe183db9a7f5f0f4aeede69367e637f3e6900a8c743ae19bf43651b15e $ docker rm -f --volumes 234016fe183db9a7f5f0f4aeede69367e637f3e6900a8c743ae19bf43651b15e [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