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 e2cebd59b29f7cbff4dcabec3a8b5e6ceb2809fb (refs/remotes/origin/main) Commit message: "Merge pull request #87 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 e2cebd59b29f7cbff4dcabec3a8b5e6ceb2809fb # timeout=10 > git rev-list --no-walk 21cd04d8514d9180f51b11ff45b02849a188ce57 # 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(report): implement Strategy Pattern with service and test [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 e2cebd59b29f7cbff4dcabec3a8b5e6ceb2809fb (refs/remotes/origin/main) Commit message: "Merge pull request #87 from UDFJDC-ModelosProgramacion/develop" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202610_G81_E1_Back/.git # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back > git --version # timeout=10 > git --version # 'git version 2.43.0' > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E1_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2cebd59b29f7cbff4dcabec3a8b5e6ceb2809fb # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main e2cebd59b29f7cbff4dcabec3a8b5e6ceb2809fb # timeout=10 Slave2 does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E1_Back -v /home/cecaduser/workspace/MP_202610_G81_E1_Back:/home/cecaduser/workspace/MP_202610_G81_E1_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E1_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat $ docker top dd0213d6673518a664f333fb0a6442711c181748efee4840e5d6f828c634c079 -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.098 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.021 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.012 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-23T19:50:34.160Z 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-23T19:50:34.164Z INFO 92 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:34.811Z INFO 92 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : Started ApplicationConfigTest in 1.221 seconds (process running for 3.66) 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.976 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-03-23T19:50:35.936Z 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-23T19:50:36.032Z 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-23T19:50:36.098Z 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-23T19:50:36.098Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:36.572Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:36.704Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 113 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:36.813Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:36.932Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4c987f6c-06dd-47d6-995c-e20bea002fbe;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:37.602Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:37.704Z INFO 92 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-23T19:50:37.768Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:38.028Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:38.132Z 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-23T19:50:38.172Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@33df7a87'] 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-23T19:50:40.564Z 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-23T19:50:40.756Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:41.605Z INFO 92 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T19:50:42.535Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 6.476 seconds (process running for 11.384) 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-23T19:50:42.824Z 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-23T19:50:42.882Z 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-23T19:50:42.908Z 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-23T19:50:42.940Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 11 2026-03-23T19:50:42.942Z 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-23T19:50:42.966Z 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-23T19:50:43.013Z 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-23T19:50:43.032Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 22 2026-03-23T19:50:43.032Z 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-23T19:50:43.156Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 999 2026-03-23T19:50:43.157Z 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-23T19:50:43.182Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Starting creation process for adopter: nuevo_adopter@test.com 2026-03-23T19:50:43.182Z 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-23T19:50:43.225Z 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-23T19:50:43.246Z 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-23T19:50:43.263Z 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-23T19:50:43.312Z 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-23T19:50:43.333Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 50 2026-03-23T19:50:43.334Z 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.414 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-23T19:50:43.343Z 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-23T19:50:43.347Z 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-23T19:50:43.375Z 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-23T19:50:43.375Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:43.486Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:43.524Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 36 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:43.552Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:43.580Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c67c4c51-3fcf-4070-872d-9c2a148fe590;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:43.609Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:43.611Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:43.620Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:43.622Z 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-23T19:50:43.623Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7700fe65'] 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-23T19:50:43.877Z 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-23T19:50:43.955Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:44.235Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.883 seconds (process running for 13.084) 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-23T19:50:44.280Z 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-23T19:50:44.356Z 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-23T19:50:44.385Z 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-23T19:50:44.390Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con ID: 18 eliminado exitosamente 2026-03-23T19:50:44.391Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 18 2026-03-23T19:50:44.391Z 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-23T19:50:44.406Z 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-23T19:50:44.407Z 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-23T19:50:44.437Z 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-23T19:50:44.441Z 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-23T19:50:44.460Z 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-23T19:50:44.462Z 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-23T19:50:44.477Z 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-23T19:50:44.479Z 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-23T19:50:44.494Z 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-23T19:50:44.523Z 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-23T19:50:44.536Z 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-23T19:50:44.555Z 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.221 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-23T19:50:44.565Z 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-23T19:50:44.574Z 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-23T19:50:44.605Z 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-23T19:50:44.606Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:44.687Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:44.714Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:44.734Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:44.748Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:adc52671-5977-4b8f-aeb6-e446ea1bb9f0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:44.769Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:44.771Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:44.780Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:44.781Z 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-23T19:50:44.782Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6544fd76'] 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-23T19:50:44.984Z 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-23T19:50:45.044Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:45.267Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.691 seconds (process running for 14.116) 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-23T19:50:45.314Z 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-23T19:50:45.365Z 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-23T19:50:45.381Z 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-23T19:50:45.503Z 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-23T19:50:45.520Z 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-23T19:50:45.552Z 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-23T19:50:45.586Z 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-23T19:50:45.621Z 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-23T19:50:45.635Z 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-23T19:50:45.689Z 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.184 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest 2026-03-23T19:50:45.751Z 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-23T19:50:45.753Z 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-23T19:50:45.776Z 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-23T19:50:45.776Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:45.847Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:45.872Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:45.890Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:45.903Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7797a724-dd04-46a9-bf22-4b2104fa2c16;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:45.921Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:45.922Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:45.931Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:45.932Z 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-23T19:50:45.933Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@a03b86a'] 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-23T19:50:46.117Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_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-23T19:50:46.164Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:46.345Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Started ShelterEventServiceTest in 0.589 seconds (process running for 15.194) 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-23T19:50:46.361Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 2026-03-23T19:50:46.363Z 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-23T19:50:46.378Z 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-23T19:50:46.389Z 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-23T19:50:46.411Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 14 2026-03-23T19:50:46.412Z 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-23T19:50:46.484Z 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-23T19:50:46.601Z 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-23T19:50:46.613Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 54 2026-03-23T19:50:46.614Z 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-23T19:50:46.625Z 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.879 s -- in co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-03-23T19:50:46.631Z 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-23T19:50:46.637Z 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-23T19:50:46.656Z 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-23T19:50:46.656Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:46.722Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:46.745Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:46.762Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:46.775Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:da456141-d60e-401a-b557-7f5e3191abe4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:46.809Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:46.811Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:46.820Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:46.821Z 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-23T19:50:46.822Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2b1ea99c'] 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-23T19:50:46.996Z 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-23T19:50:47.042Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:47.245Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.605 seconds (process running for 16.094) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T19:50:47.268Z 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-23T19:50:47.288Z 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-23T19:50:47.299Z 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-23T19:50:47.303Z 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-23T19:50:47.313Z 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-23T19:50:47.315Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 3 to APPROVED 2026-03-23T19:50:47.317Z 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-23T19:50:47.349Z 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-23T19:50:47.359Z 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.735 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-23T19:50:47.367Z 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-23T19:50:47.370Z 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-23T19:50:47.392Z 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-23T19:50:47.392Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:47.480Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:47.503Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:47.519Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:47.532Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c99be60a-b3c0-4fdb-afb6-296115123a0a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:47.549Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:47.551Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:47.560Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:47.561Z 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-23T19:50:47.562Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@78ad9e96'] 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-23T19:50:47.708Z 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-23T19:50:47.747Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:47.911Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.538 seconds (process running for 16.76) 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-23T19:50:47.989Z 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-23T19:50:48.001Z 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-23T19:50:48.015Z 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-23T19:50:48.033Z 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-23T19:50:48.066Z 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-23T19:50:48.078Z 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-23T19:50:48.098Z 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-23T19:50:48.151Z 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-23T19:50:48.173Z 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-23T19:50:48.185Z 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-23T19:50:48.196Z 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-23T19:50:48.239Z 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: 0.878 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest 2026-03-23T19:50:48.247Z 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-23T19:50:48.254Z 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-23T19:50:48.274Z 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-23T19:50:48.275Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:48.332Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:48.372Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 38 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:48.387Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:48.397Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:438db3d2-bb25-452d-9be1-97594c85f1b8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:48.413Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:48.414Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:48.422Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:48.423Z 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-23T19:50:48.424Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@124df424'] 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-23T19:50:48.554Z 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-23T19:50:48.590Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:48.740Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Started AdoptionFollowUpServiceTest in 0.484 seconds (process running for 17.589) 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-23T19:50:48.774Z 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-23T19:50:48.785Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción 2026-03-23T19:50:48.785Z 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-23T19:50:48.824Z 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-23T19:50:48.835Z 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.592 s -- in co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest 2026-03-23T19:50:48.840Z 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-23T19:50:48.842Z 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-23T19:50:48.858Z 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-23T19:50:48.859Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:48.915Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:48.936Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:48.950Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:48.960Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:02d94a5a-026f-4977-8108-572c73ee5ea3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:48.973Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:48.974Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:48.981Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:48.983Z 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-23T19:50:48.983Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@35b9094'] 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-23T19:50:49.133Z 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-23T19:50:49.165Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:49.304Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Started VaccinationRecordServiceTest in 0.458 seconds (process running for 18.152) 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-23T19:50:49.341Z 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-23T19:50:49.464Z 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-23T19:50:49.482Z 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-23T19:50:49.500Z 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-23T19:50:49.517Z 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-23T19:50:49.555Z 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-23T19:50:49.575Z 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-23T19:50:49.627Z 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-23T19:50:49.644Z 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-23T19:50:49.664Z 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.828 s -- in co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-23T19:50:49.670Z 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-23T19:50:49.676Z 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-23T19:50:49.694Z 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-23T19:50:49.694Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:49.756Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:49.800Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 43 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:49.817Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:49.829Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:06d7e8cb-bf35-4a03-9777-8036d73f7904;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:49.846Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:49.848Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:49.856Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:49.857Z 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-23T19:50:49.858Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@13aa034a'] 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-23T19:50:49.992Z 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-23T19:50:50.026Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:50.180Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.501 seconds (process running for 19.029) 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-23T19:50:50.228Z 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-23T19:50:50.250Z 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-23T19:50:50.264Z 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-23T19:50:50.292Z 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-23T19:50:50.304Z 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-23T19:50:50.392Z 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-23T19:50:50.405Z 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-23T19:50:50.430Z 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: 0.798 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-23T19:50:50.468Z 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-23T19:50:50.476Z 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-23T19:50:50.490Z 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-23T19:50:50.491Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:50.544Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:50.563Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:50.576Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:50.585Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a7bee4e5-d36d-4e55-a209-50ac875089d2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:50.600Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:50.601Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:50.608Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:50.609Z 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-23T19:50:50.610Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1c8bd676'] 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-23T19:50:50.753Z 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-23T19:50:50.787Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:50.952Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.474 seconds (process running for 19.801) 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-23T19:50:50.964Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 1 2026-03-23T19:50:50.965Z 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-23T19:50:50.974Z 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-23T19:50:50.986Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting creation process for adoption 2026-03-23T19:50:50.986Z 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-23T19:50:50.995Z 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-23T19:50:51.006Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 14 2026-03-23T19:50:51.007Z 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-23T19:50:51.016Z 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-23T19:50:51.024Z 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-23T19:50:51.025Z 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-23T19:50:51.032Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 23 2026-03-23T19:50:51.033Z 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-23T19:50:51.040Z 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-23T19:50:51.048Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 29 2026-03-23T19:50:51.049Z 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-23T19:50:51.056Z 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-23T19:50:51.064Z 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-23T19:50:51.071Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 38 2026-03-23T19:50:51.071Z 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-23T19:50:51.078Z 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.614 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-23T19:50:51.083Z 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-23T19:50:51.089Z 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-23T19:50:51.105Z 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-23T19:50:51.105Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:51.158Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:51.176Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:51.188Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:51.198Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f4918a3e-c59c-4329-868b-1f0c9760c49c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:51.211Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:51.213Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:51.220Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:51.221Z 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-23T19:50:51.221Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6d7a16fd'] 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-23T19:50:51.336Z 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-23T19:50:51.365Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:51.515Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.424 seconds (process running for 20.364) 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-23T19:50:51.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-23T19:50:51.545Z 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-23T19:50:51.553Z 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-23T19:50:51.558Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id = 8 updated successfully Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T19:50:51.566Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 11 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-23T19:50:51.576Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: TScVefd9u6 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-23T19:50:51.587Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 17 2026-03-23T19:50:51.588Z 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-23T19:50:51.596Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: ajCgOcw89J 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-23T19:50:51.604Z 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-23T19:50:51.615Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 29 2026-03-23T19:50:51.616Z 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-23T19:50:51.624Z 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-23T19:50:51.626Z 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-23T19:50:51.635Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 33 2026-03-23T19:50:51.636Z 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-23T19:50:51.643Z 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-23T19:50:51.643Z 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 (?,?,?,?) 2026-03-23T19:50:51.652Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 39 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:50:51.661Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 1 subscribed to shelter 39 2026-03-23T19:50:51.661Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 39 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:50:51.662Z 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-23T19:50:51.668Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 39 2026-03-23T19:50:51.669Z 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-23T19:50:51.684Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 45 2026-03-23T19:50:51.685Z 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-23T19:50:51.692Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: IHWnueYx2n 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-23T19:50:51.699Z 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-23T19:50:51.708Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 54 2026-03-23T19:50:51.709Z 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-23T19:50:51.716Z 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-23T19:50:51.725Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 60 2026-03-23T19:50:51.726Z 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 (?,?,?,?) 2026-03-23T19:50:51.734Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 63 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:50:51.735Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 3 subscribed to shelter 63 2026-03-23T19:50:51.735Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 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-23T19:50:51.743Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: PE6dctRnWb 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-23T19:50:51.750Z 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-23T19:50:51.759Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 72 2026-03-23T19:50:51.759Z 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-23T19:50:51.766Z 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-23T19:50:51.775Z 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-23T19:50:51.785Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: lQTWeLGIAD 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-23T19:50:51.792Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: PdvGMR2vHn 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-23T19:50:51.798Z 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-23T19:50:51.810Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 90 2026-03-23T19:50:51.810Z 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-23T19:50:51.817Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 5ud1FuCrJx 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-23T19:50:51.824Z 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-23T19:50:51.832Z 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 (?,?,?,?) 2026-03-23T19:50:51.843Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 102 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:50:51.844Z 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-23T19:50:51.852Z 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-23T19:50:51.855Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter created successfully: New Unique Shelter Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T19:50:51.862Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 109 2026-03-23T19:50:51.863Z 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.782 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-23T19:50:51.867Z 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-23T19:50:51.872Z 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-23T19:50:51.885Z 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-23T19:50:51.886Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:51.938Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:51.956Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:51.968Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:51.978Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d49e2b6f-ccfe-4f81-990c-150ae30443e2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:51.991Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:51.993Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:52.000Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:52.001Z 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-23T19:50:52.001Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2f2d3caf'] 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-23T19:50:52.134Z 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-23T19:50:52.163Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:52.286Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.412 seconds (process running for 21.135) 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-23T19:50:52.298Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 1 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.307Z 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-23T19:50:52.317Z 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) 2026-03-23T19:50:52.328Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 11 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-23T19:50:52.338Z 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-23T19:50:52.346Z 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-23T19:50:52.365Z 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-23T19:50:52.377Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: G5KGG4EVdb 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-23T19:50:52.386Z 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-23T19:50:52.396Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: nQswI2ogFf 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-23T19:50:52.405Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: rZVREKwuWm 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-23T19:50:52.413Z 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-23T19:50:52.422Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: CbDkX6EKxi 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-23T19:50:52.439Z 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-23T19:50:52.448Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Deleting pet with id = 53 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=? 2026-03-23T19:50:52.458Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 54 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.466Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 57 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.475Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 60 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.499Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: LbZkHY_eMb 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-23T19:50:52.514Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: WTOKdY5z6D 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-23T19:50:52.524Z 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-23T19:50:52.535Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: _x7671xRK8 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-23T19:50:52.557Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 4Kz53oxyuP 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-23T19:50:52.567Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 81 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=? 2026-03-23T19:50:52.577Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Processing return for pet with id = 84 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-23T19:50:52.587Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 87 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.596Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 34DFRI71O9 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-23T19:50:52.605Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: Ygka0qdmc8 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-23T19:50:52.614Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: LJAuCqzF7z 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-23T19:50:52.622Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: V6s4mNrZ4I Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T19:50:52.634Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 103 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.643Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: m7un9kF9qQ 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-23T19:50:52.653Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 109 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.664Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 112 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.673Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 02VhCJfxMT 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-23T19:50:52.683Z 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-23T19:50:52.691Z 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) 2026-03-23T19:50:52.702Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 999 Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,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-23T19:50:52.711Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Deleting pet with id = 127 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.720Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 131 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.729Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Deleting pet with id = 133 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=? 2026-03-23T19:50:52.764Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 136 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:50:52.780Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: f3N2qMGQ10 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-23T19:50:52.789Z 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-23T19:50:52.798Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: KOi04S1HPb 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-23T19:50:52.807Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: TKrxBlDonG 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-23T19:50:52.832Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 151 [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.969 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-23T19:50:52.838Z 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-23T19:50:52.840Z 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-23T19:50:52.856Z 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-23T19:50:52.856Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:52.910Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:52.929Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:52.944Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:52.954Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:bcf8594f-c7af-418f-bb0d-96ce82c1e086;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:52.967Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:52.969Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:52.979Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:52.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-23T19:50:52.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@6e57872d'] 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-23T19:50:53.094Z 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-23T19:50:53.120Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:53.250Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.408 seconds (process running for 22.099) 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-23T19:50:53.263Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 1 2026-03-23T19:50:53.263Z 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-23T19:50:53.273Z 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-23T19:50:53.282Z 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-23T19:50:53.291Z 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-23T19:50:53.301Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 13 2026-03-23T19:50:53.301Z 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-23T19:50:53.309Z 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-23T19:50:53.318Z 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-23T19:50:53.326Z 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-23T19:50:53.334Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: nuevo_vet@test.com 2026-03-23T19:50:53.334Z 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-23T19:50:53.347Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 30 2026-03-23T19:50:53.347Z 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-23T19:50:53.355Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 32 2026-03-23T19:50:53.355Z 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-23T19:50:53.367Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: qvIeS3UbrG 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-23T19:50:53.377Z 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-23T19:50:53.386Z 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-23T19:50:53.394Z 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-23T19:50:53.404Z 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-23T19:50:53.415Z 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-23T19:50:53.423Z 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-23T19:50:53.432Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 999 2026-03-23T19:50:53.432Z 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.599 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-23T19:50:53.437Z 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-23T19:50:53.439Z 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-23T19:50:53.469Z 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-23T19:50:53.469Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:53.518Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:53.536Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:53.547Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:53.556Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ae9ff4b3-b908-4e1f-b350-e0594f2af902;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:53.568Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:53.570Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:53.576Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:53.577Z 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-23T19:50:53.578Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1667eb5f'] 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-23T19:50:53.683Z 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-23T19:50:53.706Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:53.827Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.386 seconds (process running for 22.676) 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-23T19:50:53.846Z 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-23T19:50:53.857Z 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-23T19:50:53.865Z 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-23T19:50:53.889Z 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-23T19:50:53.906Z 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-23T19:50:53.913Z 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-23T19:50:53.919Z 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-23T19:50:53.926Z 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-23T19:50:53.932Z 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-23T19:50:53.945Z 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-23T19:50:53.951Z 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-23T19:50:53.968Z 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-23T19:50:53.988Z 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-23T19:50:54.017Z 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-23T19:50:54.034Z 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-23T19:50:54.045Z 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-23T19:50:54.053Z 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-23T19:50:54.066Z 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-23T19:50:54.075Z 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-23T19:50:54.083Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: NrJqsscFcW 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-23T19:50:54.090Z 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-23T19:50:54.105Z 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-23T19:50:54.122Z 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-23T19:50:54.130Z 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-23T19:50:54.138Z 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.705 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-23T19:50:54.144Z 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-23T19:50:54.150Z 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-23T19:50:54.166Z 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-23T19:50:54.166Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:54.226Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:54.247Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:54.261Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:54.271Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5097d340-39c8-4214-b236-9c3900a3da00;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:54.287Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:54.288Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:54.296Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:54.297Z 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-23T19:50:54.297Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@234ab4de'] 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-23T19:50:54.415Z 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-23T19:50:54.444Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:54.576Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.424 seconds (process running for 23.425) 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-23T19:50:54.585Z 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-23T19:50:54.592Z 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-23T19:50:54.597Z 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-23T19:50:54.599Z 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-23T19:50:54.604Z 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-23T19:50:54.611Z 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-23T19:50:54.617Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 21 2026-03-23T19:50:54.617Z 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-23T19:50:54.623Z 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-23T19:50:54.630Z 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-23T19:50:54.637Z 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-23T19:50:54.643Z 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-23T19:50:54.651Z 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-23T19:50:54.657Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 41 2026-03-23T19:50:54.658Z 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-23T19:50:54.664Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 42 2026-03-23T19:50:54.664Z 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-23T19:50:54.670Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 48 2026-03-23T19:50:54.671Z 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-23T19:50:54.677Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 52 2026-03-23T19:50:54.678Z 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-23T19:50:54.684Z 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-23T19:50:54.690Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 59 2026-03-23T19:50:54.690Z 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-23T19:50:54.696Z 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-23T19:50:54.702Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T19:50:54.703Z 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-23T19:50:54.708Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T19:50:54.709Z 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-23T19:50:54.715Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 74 2026-03-23T19:50:54.715Z 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-23T19:50:54.721Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 78 2026-03-23T19:50:54.722Z 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-23T19:50:54.727Z 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-23T19:50:54.733Z 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-23T19:50:54.738Z 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-23T19:50:54.745Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T19:50:54.745Z 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-23T19:50:54.751Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 95 2026-03-23T19:50:54.752Z 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-23T19:50:54.759Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 99 2026-03-23T19:50:54.759Z 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-23T19:50:54.765Z 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-23T19:50:54.771Z 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-23T19:50:54.777Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 107 2026-03-23T19:50:54.778Z 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.637 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest 2026-03-23T19:50:54.782Z 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-23T19:50:54.788Z 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-23T19:50:54.808Z 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-23T19:50:54.808Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:54.855Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:54.873Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:54.884Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:54.898Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b1af03d9-4d8f-4ba2-b858-fc3726529940;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:54.911Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:54.913Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:54.936Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:54.937Z 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-23T19:50:54.937Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@171803ec'] 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-23T19:50:55.040Z 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-23T19:50:55.062Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:55.178Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.385 seconds (process running for 24.027) 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-23T19:50:55.186Z 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-23T19:50:55.207Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte 2026-03-23T19:50:55.208Z 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-23T19:50:55.209Z 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-23T19:50:55.222Z 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-23T19:50:55.243Z 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-23T19:50:55.263Z 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.493 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-23T19:50:55.277Z 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-23T19:50:55.281Z 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-23T19:50:55.295Z 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-23T19:50:55.295Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:55.342Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:55.358Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:55.370Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:55.378Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:37de0ce5-b10a-4aa8-854d-298fe5dd802e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:55.391Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:55.392Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:55.399Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:55.400Z 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-23T19:50:55.400Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3482a768'] 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-23T19:50:55.497Z 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-23T19:50:55.517Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:55.634Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.351 seconds (process running for 24.483) 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-23T19:50:55.646Z 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-23T19:50:55.649Z 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-23T19:50:55.659Z 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-23T19:50:55.670Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 7 2026-03-23T19:50:55.670Z 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-23T19:50:55.710Z 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-23T19:50:55.722Z 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-23T19:50:55.724Z 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-23T19:50:55.733Z 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-23T19:50:55.734Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica ID: 19 eliminada exitosamente 2026-03-23T19:50:55.735Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 19 2026-03-23T19:50:55.735Z 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-23T19:50:55.744Z 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-23T19:50:55.752Z 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-23T19:50:55.761Z 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-23T19:50:55.770Z 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.499 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-23T19:50:55.777Z 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-23T19:50:55.782Z 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-23T19:50:55.795Z 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-23T19:50:55.795Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:50:55.842Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:55.858Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:50:55.870Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:50:55.878Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a06750e7-8e39-4ca8-92b0-24d76760fd9c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:50:55.890Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:50:55.892Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:50:55.898Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:50:55.899Z 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-23T19:50:55.900Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4793f094'] 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-23T19:50:55.993Z 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-23T19:50:56.012Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:50:56.124Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.34 seconds (process running for 24.973) 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.416 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-23T19:50:56.348Z 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-23T19:50:56.363Z 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-23T19:50:56.370Z 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-23T19:50:56.376Z 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-23T19:50:56.381Z 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-23T19:50:56.386Z 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-23T19:50:56.390Z 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-23T19:50:56.394Z 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-23T19:50:56.398Z 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-23T19:50:56.402Z 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-23T19:50:56.406Z 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-23T19:50:56.411Z 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-23T19:50:56.415Z 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-23T19:50:56.418Z 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-23T19:50:56.422Z 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-23T19:50:56.426Z 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-23T19:50:56.430Z 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-23T19:50:56.433Z 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-23T19:50:58.885Z INFO 188 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 188 (/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/classes started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-23T19:50:58.888Z INFO 188 --- [ main] c.e.udistrital.mdp.pets.MainApplication : The following 1 profile is active: "integration-tests" 2026-03-23T19:50:59.654Z INFO 188 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:50:59.764Z INFO 188 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 101 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:00.336Z INFO 188 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8999 (http) 2026-03-23T19:51:00.351Z INFO 188 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-03-23T19:51:00.352Z INFO 188 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.50] 2026-03-23T19:51:00.397Z INFO 188 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-03-23T19:51:00.398Z INFO 188 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1452 ms 2026-03-23T19:51:00.579Z INFO 188 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:00.632Z INFO 188 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-23T19:51:00.672Z INFO 188 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:00.952Z INFO 188 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:00.982Z INFO 188 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-03-23T19:51:01.164Z INFO 188 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:pets user=SA 2026-03-23T19:51:01.166Z INFO 188 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-03-23T19:51:01.196Z WARN 188 --- [ 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-23T19:51:01.218Z INFO 188 --- [ 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-23T19:51:02.637Z INFO 188 --- [ 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-23T19:51:02.749Z INFO 188 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:03.210Z INFO 188 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T19:51:04.236Z INFO 188 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-23T19:51:04.308Z INFO 188 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8999 (http) with context path '/api' 2026-03-23T19:51:04.318Z INFO 188 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 5.889 seconds (process running for 6.589) [INFO] [INFO] --- exec:1.6.0:exec (combine-collection) @ MP_202610_G81_E1_Back --- Collection 'Default Tests' was successfully added. Combined collection is saved to 'it/composed.collection.json' [INFO] [INFO] --- spring-boot:3.5.10:stop (post-integration-test) @ MP_202610_G81_E1_Back --- [INFO] Stopping application... 2026-03-23T19:51:04.939Z INFO 188 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested. 2026-03-23T19:51:04.942Z INFO 188 --- [on(2)-127.0.0.1] o.s.b.w.e.tomcat.GracefulShutdown : Commencing graceful shutdown. Waiting for active requests to complete 2026-03-23T19:51:04.947Z INFO 188 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown : Graceful shutdown complete 2026-03-23T19:51:04.951Z INFO 188 --- [on(2)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:04.973Z INFO 188 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2026-03-23T19:51:04.976Z INFO 188 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. [INFO] [INFO] --- install:3.1.4:install (default-install) @ MP_202610_G81_E1_Back --- [INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E1_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E1_Back/0.0.1-SNAPSHOT/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.pom [INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E1_Back/0.0.1-SNAPSHOT/MP_202610_G81_E1_Back-0.0.1-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40.319 s [INFO] Finished at: 2026-03-23T19:51:05Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 dd0213d6673518a664f333fb0a6442711c181748efee4840e5d6f828c634c079 $ docker rm -f --volumes dd0213d6673518a664f333fb0a6442711c181748efee4840e5d6f828c634c079 [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 1431befe18ff626e78f16dd3883ae8e6049bd1fd697d938a2fb227684d6c5c3d -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.080 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.008 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-23T19:51:13.257Z 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-23T19:51:13.262Z INFO 71 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:13.837Z INFO 71 --- [ main] c.e.u.m.p.config.ApplicationConfigTest : Started ApplicationConfigTest in 1.117 seconds (process running for 3.395) 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.790 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-03-23T19:51:14.874Z 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-23T19:51:14.959Z 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-23T19:51:15.025Z 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-23T19:51:15.025Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:15.439Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:15.574Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 119 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:15.694Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:15.818Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:dd2b472a-44a6-4a48-952a-124d81bb75fe;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:16.455Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:16.556Z INFO 71 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-23T19:51:16.630Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:16.902Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:17.008Z 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-23T19:51:17.047Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@404ea1e4'] 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-23T19:51:19.302Z 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-23T19:51:19.462Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:20.153Z INFO 71 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T19:51:21.095Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 6.109 seconds (process running for 10.653) 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-23T19:51:21.367Z 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-23T19:51:21.424Z 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-23T19:51:21.449Z 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-23T19:51:21.487Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 11 2026-03-23T19:51:21.487Z 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-23T19:51:21.511Z 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-23T19:51:21.557Z 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-23T19:51:21.579Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 22 2026-03-23T19:51:21.579Z 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-23T19:51:21.713Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 999 2026-03-23T19:51:21.713Z 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-23T19:51:21.739Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Starting creation process for adopter: nuevo_adopter@test.com 2026-03-23T19:51:21.739Z 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-23T19:51:21.785Z 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-23T19:51:21.804Z 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-23T19:51:21.821Z 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-23T19:51:21.863Z 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-23T19:51:21.884Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 50 2026-03-23T19:51:21.885Z 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: 7.024 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-23T19:51:21.892Z 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-23T19:51:21.895Z 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-23T19:51:21.920Z 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-23T19:51:21.920Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:22.074Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:22.104Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:22.129Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:22.145Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6f8e63fd-4089-4f0e-8686-cbe5ef2d337a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:22.167Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:22.169Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:22.178Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:22.179Z 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-23T19:51:22.180Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@517cee55'] 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-23T19:51:22.402Z 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-23T19:51:22.471Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:22.692Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.793 seconds (process running for 12.251) 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-23T19:51:22.732Z 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-23T19:51:22.799Z 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-23T19:51:22.826Z 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-23T19:51:22.831Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con ID: 18 eliminado exitosamente 2026-03-23T19:51:22.832Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 18 2026-03-23T19:51:22.832Z 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-23T19:51:22.846Z 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-23T19:51:22.847Z 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-23T19:51:22.876Z 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-23T19:51:22.878Z 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-23T19:51:22.893Z 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-23T19:51:22.895Z 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-23T19:51:22.909Z 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-23T19:51:22.911Z 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-23T19:51:22.924Z 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-23T19:51:22.950Z 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-23T19:51:22.962Z 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-23T19:51:22.975Z 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.092 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-23T19:51:22.986Z 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-23T19:51:22.995Z 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-23T19:51:23.019Z 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-23T19:51:23.019Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:23.097Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:23.123Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:23.144Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:23.158Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7e88ccd8-e13e-465f-ae6c-2ee0497cd63c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:23.199Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:23.201Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:23.209Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:23.211Z 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-23T19:51:23.211Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2896ccd7'] 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-23T19:51:23.404Z 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-23T19:51:23.461Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:23.660Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.661 seconds (process running for 13.218) 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-23T19:51:23.697Z 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-23T19:51:23.746Z 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-23T19:51:23.761Z 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-23T19:51:23.883Z 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-23T19:51:23.900Z 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-23T19:51:23.932Z 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-23T19:51:23.965Z 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-23T19:51:23.999Z 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-23T19:51:24.013Z 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-23T19:51:24.079Z 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.174 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest 2026-03-23T19:51:24.161Z 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-23T19:51:24.164Z 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-23T19:51:24.184Z 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-23T19:51:24.184Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:24.256Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:24.287Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:24.306Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:24.318Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9e5ba0f4-1b80-4487-8f1f-4b97f82d7567;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:24.336Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:24.338Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:24.346Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:24.348Z 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-23T19:51:24.348Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3a1e95a3'] 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-23T19:51:24.505Z 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-23T19:51:24.551Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:24.731Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Started ShelterEventServiceTest in 0.565 seconds (process running for 14.289) 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-23T19:51:24.749Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 2026-03-23T19:51:24.750Z 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-23T19:51:24.767Z 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-23T19:51:24.780Z 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-23T19:51:24.805Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 14 2026-03-23T19:51:24.805Z 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-23T19:51:24.888Z 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-23T19:51:25.034Z 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-23T19:51:25.047Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 54 2026-03-23T19:51:25.049Z 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-23T19:51:25.062Z 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.906 s -- in co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-03-23T19:51:25.068Z 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-23T19:51:25.075Z 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-23T19:51:25.096Z 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-23T19:51:25.096Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:25.176Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:25.202Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:25.221Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:25.233Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e0ab494c-1817-4673-a0a4-99e75f6377c4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:25.251Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:25.253Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:25.260Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:25.262Z 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-23T19:51:25.262Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@57333ebe'] 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-23T19:51:25.418Z 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-23T19:51:25.462Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:25.626Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.549 seconds (process running for 15.184) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T19:51:25.639Z 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-23T19:51:25.654Z 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-23T19:51:25.665Z 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-23T19:51:25.668Z 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-23T19:51:25.679Z 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-23T19:51:25.681Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating status for request ID: 3 to APPROVED 2026-03-23T19:51:25.682Z 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-23T19:51:25.745Z 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-23T19:51:25.755Z 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.694 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-23T19:51:25.763Z 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-23T19:51:25.768Z 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-23T19:51:25.789Z 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-23T19:51:25.789Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:25.856Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:25.879Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:25.918Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:25.932Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:347cedae-efab-4700-949f-d5b4bd75c547;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:25.949Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:25.951Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:25.961Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:25.962Z 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-23T19:51:25.963Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@eb15eb4'] 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-23T19:51:26.105Z 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-23T19:51:26.145Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:26.301Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.53 seconds (process running for 15.86) 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-23T19:51:26.378Z 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-23T19:51:26.391Z 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-23T19:51:26.405Z 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-23T19:51:26.424Z 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-23T19:51:26.458Z 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-23T19:51:26.471Z 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-23T19:51:26.485Z 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-23T19:51:26.538Z 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-23T19:51:26.559Z 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-23T19:51:26.570Z 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-23T19:51:26.581Z 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-23T19:51:26.624Z 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.867 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest 2026-03-23T19:51:26.631Z 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-23T19:51:26.643Z 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-23T19:51:26.660Z 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-23T19:51:26.660Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:26.718Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:26.740Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:26.755Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:26.791Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b46e3444-f9fd-4930-92b4-d6b90a18d88d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:26.806Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:26.807Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:26.815Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:26.816Z 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-23T19:51:26.816Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@159b00e5'] 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-23T19:51:26.949Z 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-23T19:51:26.985Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:27.135Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Started AdoptionFollowUpServiceTest in 0.49 seconds (process running for 16.693) 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-23T19:51:27.169Z 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-23T19:51:27.180Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción 2026-03-23T19:51:27.180Z 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-23T19:51:27.217Z 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-23T19:51:27.228Z 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.600 s -- in co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest 2026-03-23T19:51:27.233Z 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-23T19:51:27.235Z 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-23T19:51:27.252Z 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-23T19:51:27.252Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:27.311Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:27.332Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:27.346Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:27.356Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f861ad81-4da4-4c8b-bdc1-6aefc45e6ffb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:27.369Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:27.370Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:27.378Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:27.379Z 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-23T19:51:27.379Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@8a9bdc5'] 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-23T19:51:27.528Z 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-23T19:51:27.560Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:27.699Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Started VaccinationRecordServiceTest in 0.462 seconds (process running for 17.257) 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-23T19:51:27.736Z 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-23T19:51:27.861Z 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-23T19:51:27.880Z 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-23T19:51:27.898Z 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-23T19:51:27.935Z 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-23T19:51:27.959Z 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-23T19:51:27.975Z 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-23T19:51:28.024Z 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-23T19:51:28.041Z 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-23T19:51:28.057Z 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.828 s -- in co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-23T19:51:28.063Z 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-23T19:51:28.070Z 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-23T19:51:28.087Z 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-23T19:51:28.088Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:28.177Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:28.199Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:28.213Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:28.224Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:966b8341-73a9-4fb8-87e0-47fa75f4adb5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:28.241Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:28.243Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:28.252Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:28.253Z 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-23T19:51:28.253Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7ce6587b'] 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-23T19:51:28.383Z 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-23T19:51:28.416Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:28.567Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.495 seconds (process running for 18.126) 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-23T19:51:28.617Z 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-23T19:51:28.640Z 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-23T19:51:28.654Z 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-23T19:51:28.683Z 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-23T19:51:28.695Z 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-23T19:51:28.786Z 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-23T19:51:28.799Z 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-23T19:51:28.824Z 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.799 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-23T19:51:28.863Z 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-23T19:51:28.869Z 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-23T19:51:28.884Z 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-23T19:51:28.885Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:28.938Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:28.958Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:28.971Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:28.994Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4b72222f-f2a4-403b-91c6-6f9c7c4795f3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:29.010Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:29.012Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:29.020Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:29.021Z 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-23T19:51:29.021Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@283695a6'] 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-23T19:51:29.155Z 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-23T19:51:29.189Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:29.348Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.477 seconds (process running for 18.907) 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-23T19:51:29.360Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 1 2026-03-23T19:51:29.361Z 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-23T19:51:29.369Z 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-23T19:51:29.380Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting creation process for adoption 2026-03-23T19:51:29.380Z 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-23T19:51:29.390Z 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-23T19:51:29.400Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 14 2026-03-23T19:51:29.401Z 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-23T19:51:29.409Z 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-23T19:51:29.416Z 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-23T19:51:29.417Z 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-23T19:51:29.424Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 23 2026-03-23T19:51:29.425Z 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-23T19:51:29.431Z 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-23T19:51:29.439Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 29 2026-03-23T19:51:29.439Z 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-23T19:51:29.446Z 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-23T19:51:29.454Z 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-23T19:51:29.461Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 38 2026-03-23T19:51:29.462Z 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-23T19:51:29.469Z 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.609 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-23T19:51:29.474Z 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-23T19:51:29.479Z 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-23T19:51:29.494Z 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-23T19:51:29.495Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:29.546Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:29.564Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:29.576Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:29.586Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:096f50d8-d575-4e31-8f14-742efeb4a4e4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:29.600Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:29.601Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:29.608Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:29.610Z 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-23T19:51:29.610Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@270ae60'] 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-23T19:51:29.720Z 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-23T19:51:29.748Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:29.890Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.409 seconds (process running for 19.449) 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-23T19:51:29.903Z 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-23T19:51:29.920Z 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-23T19:51:29.928Z 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-23T19:51:29.932Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id = 8 updated successfully Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T19:51:29.940Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 11 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-23T19:51:29.949Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: MWN2FQ4IIz 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-23T19:51:29.960Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 17 2026-03-23T19:51:29.961Z 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-23T19:51:29.970Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: YbxNO6qiej 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-23T19:51:29.977Z 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-23T19:51:29.987Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 29 2026-03-23T19:51:29.988Z 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-23T19:51:29.995Z 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-23T19:51:29.997Z 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-23T19:51:30.006Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 33 2026-03-23T19:51:30.007Z 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-23T19:51:30.015Z 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-23T19:51:30.016Z 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 (?,?,?,?) 2026-03-23T19:51:30.026Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 39 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:51:30.034Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 1 subscribed to shelter 39 2026-03-23T19:51:30.034Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 39 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:51:30.035Z 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-23T19:51:30.040Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 39 2026-03-23T19:51:30.041Z 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-23T19:51:30.056Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 45 2026-03-23T19:51:30.056Z 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-23T19:51:30.063Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: O17rCVQx9h 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-23T19:51:30.070Z 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-23T19:51:30.079Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 54 2026-03-23T19:51:30.080Z 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-23T19:51:30.087Z 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-23T19:51:30.096Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 60 2026-03-23T19:51:30.096Z 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 (?,?,?,?) 2026-03-23T19:51:30.104Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 63 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:51:30.105Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : User 3 subscribed to shelter 63 2026-03-23T19:51:30.105Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 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-23T19:51:30.113Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 1NQWJX1iea 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-23T19:51:30.121Z 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-23T19:51:30.130Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 72 2026-03-23T19:51:30.130Z 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-23T19:51:30.137Z 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-23T19:51:30.147Z 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-23T19:51:30.156Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: _Gq8VKv_sP 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-23T19:51:30.163Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 4KsqcjcVPy 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-23T19:51:30.168Z 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-23T19:51:30.178Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 90 2026-03-23T19:51:30.179Z 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-23T19:51:30.186Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: quC9K4aQw8 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-23T19:51:30.192Z 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-23T19:51:30.200Z 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 (?,?,?,?) 2026-03-23T19:51:30.211Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting process to consult shelter with id = 102 Hibernate: insert into subscription_entity (active,shelter_id,user_id,id) values (?,?,?,default) 2026-03-23T19:51:30.212Z 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-23T19:51:30.219Z 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-23T19:51:30.223Z 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-23T19:51:30.230Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 109 2026-03-23T19:51:30.231Z 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.760 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-23T19:51:30.235Z 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-23T19:51:30.240Z 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-23T19:51:30.254Z 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-23T19:51:30.254Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:30.306Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:30.324Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:30.335Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:30.344Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:23794ae0-b16c-48d2-9fc6-e25b1a0da53c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:30.358Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:30.360Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:30.367Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:30.368Z 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-23T19:51:30.368Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2b88613c'] 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-23T19:51:30.500Z 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-23T19:51:30.528Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:30.651Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.409 seconds (process running for 20.21) 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-23T19:51:30.663Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 1 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:30.673Z 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-23T19:51:30.684Z 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) 2026-03-23T19:51:30.695Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 11 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-23T19:51:30.705Z 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-23T19:51:30.714Z 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-23T19:51:30.733Z 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-23T19:51:30.745Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: mp_6R4wbiG 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-23T19:51:30.754Z 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-23T19:51:30.763Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 8rmTK7loNz 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-23T19:51:30.772Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: U7BYYUgKk0 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-23T19:51:30.780Z 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-23T19:51:30.790Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: W5SvjD1pHG 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-23T19:51:30.806Z 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-23T19:51:30.814Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Deleting pet with id = 53 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=? 2026-03-23T19:51:30.824Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 54 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:30.833Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 57 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:30.841Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 60 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:30.865Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: o3s9ASDlaq 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-23T19:51:30.883Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: NMdU_Q94ZL 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-23T19:51:30.893Z 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-23T19:51:30.902Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: PRD4FMLfPo 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-23T19:51:30.923Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: MPhAevL1Tg 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-23T19:51:30.933Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 81 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=? 2026-03-23T19:51:30.943Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Processing return for pet with id = 84 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (adoption_id,end_date,pet_id,result,start_date,status,id) values (?,?,?,?,?,?,default) 2026-03-23T19:51:30.954Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 87 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:30.964Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: avcL8fXHPn 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-23T19:51:30.973Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 6ctpqPdEWk 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-23T19:51:30.982Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: P_uk1um1xj 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-23T19:51:30.991Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: dTqfXosMgM Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T19:51:31.004Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 103 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:31.019Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: oQzUAYCk0Q 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-23T19:51:31.030Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 109 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:31.045Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 112 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:31.055Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: Hz0OOO8L77 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-23T19:51:31.064Z 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-23T19:51:31.072Z 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) 2026-03-23T19:51:31.082Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 999 Hibernate: select pe1_0.id,pe1_0.activity_level,pe1_0.age,pe1_0.breed,pe1_0.description,pe1_0.good_with_kids,pe1_0.good_with_pets,mh1_0.id,mh1_0.description,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-23T19:51:31.092Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Deleting pet with id = 127 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:31.101Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 131 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:31.110Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Deleting pet with id = 133 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: update pet_entity set activity_level=?,age=?,breed=?,description=?,good_with_kids=?,good_with_pets=?,name=?,origin=?,photos=?,sex=?,shelter_id=?,size=?,space_required=?,special_needs=?,species=?,status=?,temperament=? where id=? 2026-03-23T19:51:31.144Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 136 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) 2026-03-23T19:51:31.160Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: ju0uiRmpIq 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-23T19:51:31.170Z 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-23T19:51:31.179Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: DTvuZleBRn 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-23T19:51:31.188Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 3swR43Y70f 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-23T19:51:31.198Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with id = 151 [INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.967 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-23T19:51:31.204Z 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-23T19:51:31.207Z 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-23T19:51:31.239Z 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-23T19:51:31.240Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:31.308Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:31.326Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:31.339Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:31.359Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:71729dd6-fafd-494c-bdf2-057bb580e3ef;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:31.373Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:31.375Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:31.385Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:31.386Z 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-23T19:51:31.386Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6e57872d'] 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-23T19:51:31.498Z 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-23T19:51:31.524Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:31.658Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.449 seconds (process running for 21.216) 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-23T19:51:31.672Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 1 2026-03-23T19:51:31.673Z 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-23T19:51:31.683Z 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-23T19:51:31.693Z 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-23T19:51:31.703Z 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-23T19:51:31.714Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 13 2026-03-23T19:51:31.715Z 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-23T19:51:31.724Z 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-23T19:51:31.733Z 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-23T19:51:31.743Z 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-23T19:51:31.752Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: nuevo_vet@test.com 2026-03-23T19:51:31.753Z 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-23T19:51:31.765Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 30 2026-03-23T19:51:31.766Z 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-23T19:51:31.774Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 32 2026-03-23T19:51:31.774Z 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-23T19:51:31.785Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: q2Z4p2oVpb 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-23T19:51:31.796Z 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-23T19:51:31.805Z 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-23T19:51:31.814Z 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-23T19:51:31.823Z 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-23T19:51:31.831Z 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-23T19:51:31.840Z 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-23T19:51:31.848Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 999 2026-03-23T19:51:31.848Z 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.649 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-23T19:51:31.854Z 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-23T19:51:31.855Z 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-23T19:51:31.869Z 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-23T19:51:31.869Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:31.946Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:31.964Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:31.976Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:31.985Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a648ebcf-2a25-4c79-8801-61765b5c5ce2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:31.998Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:31.999Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:32.006Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:32.007Z 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-23T19:51:32.007Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@f8b5249'] 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-23T19:51:32.112Z 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-23T19:51:32.136Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:32.267Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.41 seconds (process running for 21.825) 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-23T19:51:32.286Z 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-23T19:51:32.298Z 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-23T19:51:32.306Z 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-23T19:51:32.332Z 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-23T19:51:32.349Z 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-23T19:51:32.356Z 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-23T19:51:32.363Z 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-23T19:51:32.371Z 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-23T19:51:32.378Z 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-23T19:51:32.392Z 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-23T19:51:32.398Z 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-23T19:51:32.415Z 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-23T19:51:32.434Z 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-23T19:51:32.444Z 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-23T19:51:32.461Z 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-23T19:51:32.471Z 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-23T19:51:32.478Z 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-23T19:51:32.511Z 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-23T19:51:32.520Z 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-23T19:51:32.528Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: LTScXnWblV 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-23T19:51:32.536Z 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-23T19:51:32.551Z 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-23T19:51:32.568Z 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-23T19:51:32.575Z 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-23T19:51:32.583Z 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.734 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-23T19:51:32.590Z 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-23T19:51:32.597Z 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-23T19:51:32.612Z 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-23T19:51:32.612Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:32.674Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:32.695Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:32.709Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:32.726Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7e0462eb-8c6b-40cc-a698-01fcf60d817b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:32.742Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:32.743Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:32.751Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:32.752Z 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-23T19:51:32.752Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@15539287'] 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-23T19:51:32.909Z 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-23T19:51:32.943Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:33.115Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.516 seconds (process running for 22.674) 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-23T19:51:33.125Z 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-23T19:51:33.132Z 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-23T19:51:33.138Z 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-23T19:51:33.140Z 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-23T19:51:33.147Z 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-23T19:51:33.154Z 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-23T19:51:33.161Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 21 2026-03-23T19:51:33.162Z 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-23T19:51:33.168Z 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-23T19:51:33.175Z 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-23T19:51:33.183Z 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-23T19:51:33.189Z 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-23T19:51:33.197Z 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-23T19:51:33.203Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 41 2026-03-23T19:51:33.204Z 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-23T19:51:33.210Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 42 2026-03-23T19:51:33.211Z 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-23T19:51:33.219Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 48 2026-03-23T19:51:33.219Z 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-23T19:51:33.226Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 52 2026-03-23T19:51:33.227Z 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-23T19:51:33.234Z 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-23T19:51:33.240Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 59 2026-03-23T19:51:33.241Z 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-23T19:51:33.247Z 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-23T19:51:33.253Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T19:51:33.253Z 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-23T19:51:33.259Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T19:51:33.259Z 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-23T19:51:33.265Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 74 2026-03-23T19:51:33.266Z 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-23T19:51:33.272Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 78 2026-03-23T19:51:33.272Z 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-23T19:51:33.278Z 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-23T19:51:33.284Z 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-23T19:51:33.290Z 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-23T19:51:33.297Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T19:51:33.297Z 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-23T19:51:33.303Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 95 2026-03-23T19:51:33.304Z 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-23T19:51:33.310Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 99 2026-03-23T19:51:33.310Z 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-23T19:51:33.316Z 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-23T19:51:33.322Z 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-23T19:51:33.327Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 107 2026-03-23T19:51:33.328Z 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.741 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest 2026-03-23T19:51:33.331Z 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-23T19:51:33.336Z 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-23T19:51:33.349Z 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-23T19:51:33.349Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:33.398Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:33.415Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:33.426Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:33.435Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:04ef1dc3-33e5-4841-b6ac-a2d8b804855d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:33.447Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:33.448Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:33.471Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:33.472Z 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-23T19:51:33.472Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7a3a91df'] 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-23T19:51:33.573Z 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-23T19:51:33.595Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:33.717Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.379 seconds (process running for 23.276) 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-23T19:51:33.725Z 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-23T19:51:33.749Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReportService : Creando reporte 2026-03-23T19:51:33.749Z 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-23T19:51:33.750Z 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-23T19:51:33.765Z 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-23T19:51:33.787Z 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-23T19:51:33.808Z 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.490 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-23T19:51:33.823Z 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-23T19:51:33.828Z 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-23T19:51:33.843Z 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-23T19:51:33.843Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:33.890Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:33.908Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:33.919Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:33.929Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cf1ad64e-7a54-4fb1-819b-c0ce78e09365;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:33.942Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:33.943Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:33.950Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:33.951Z 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-23T19:51:33.952Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@391ad872'] 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-23T19:51:34.051Z 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-23T19:51:34.071Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:34.185Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.355 seconds (process running for 23.743) 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-23T19:51:34.197Z 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-23T19:51:34.200Z 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-23T19:51:34.210Z 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-23T19:51:34.233Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 7 2026-03-23T19:51:34.233Z 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-23T19:51:34.246Z 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-23T19:51:34.258Z 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-23T19:51:34.260Z 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-23T19:51:34.289Z 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-23T19:51:34.291Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica ID: 19 eliminada exitosamente 2026-03-23T19:51:34.291Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 19 2026-03-23T19:51:34.291Z 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-23T19:51:34.301Z 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-23T19:51:34.311Z 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-23T19:51:34.323Z 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-23T19:51:34.347Z 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.529 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-23T19:51:34.354Z 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-23T19:51:34.358Z 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-23T19:51:34.371Z 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-23T19:51:34.371Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T19:51:34.418Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T19:51:34.435Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T19:51:34.446Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T19:51:34.455Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b0a87ef7-13de-4f71-bd3a-a59ee16c6c86;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T19:51:34.467Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T19:51:34.469Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T19:51:34.475Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T19:51:34.476Z 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-23T19:51:34.477Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@182c9513'] 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-23T19:51:34.569Z 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-23T19:51:34.590Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T19:51:34.706Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.346 seconds (process running for 24.264) 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.421 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-23T19:51:34.785Z 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-23T19:51:34.956Z 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-23T19:51:34.964Z 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-23T19:51:34.970Z 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-23T19:51:34.975Z 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-23T19:51:34.980Z 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-23T19:51:34.985Z 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-23T19:51:34.989Z 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-23T19:51:34.993Z 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-23T19:51:34.998Z 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-23T19:51:35.002Z 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-23T19:51:35.006Z 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-23T19:51:35.010Z 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-23T19:51:35.014Z 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-23T19:51:35.018Z 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-23T19:51:35.022Z 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-23T19:51:35.025Z 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-23T19:51:35.029Z 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: 26.115 s [INFO] Finished at: 2026-03-23T19:51:35Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 1431befe18ff626e78f16dd3883ae8e6049bd1fd697d938a2fb227684d6c5c3d $ docker rm -f --volumes 1431befe18ff626e78f16dd3883ae8e6049bd1fd697d938a2fb227684d6c5c3d [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 aa94ca28a72932471c2d3830eae9a240711886f8482a826ced874aebd1038d7e -eo pid,comm [Pipeline] { [Pipeline] sh + mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar [INFO] Scanning for projects... [WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation [INFO] [INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E1_Back >------------- [INFO] Building MP_202610_G81_E1_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202610_G81_E1_Back --- [WARNING] 19:51:40.287 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] 19:51:40.296 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 19:51:40.297 Linux 6.17.0-14-generic (amd64) [INFO] 19:51:40.479 User cache: /root/.sonar/cache [INFO] 19:51:41.228 Communicating with SonarQube Server 25.3.0.104237 [INFO] 19:51:41.248 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 19:51:42.130 Load global settings [INFO] 19:51:42.218 Load global settings (done) | time=89ms [INFO] 19:51:42.235 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 19:51:42.248 Loading required plugins [INFO] 19:51:42.249 Load plugins index [INFO] 19:51:42.308 Load plugins index (done) | time=59ms [INFO] 19:51:42.308 Load/download plugins [INFO] 19:51:42.661 Load/download plugins (done) | time=353ms [INFO] 19:51:43.058 Process project properties [INFO] 19:51:43.073 Process project properties (done) | time=15ms [INFO] 19:51:43.085 Project key: co.edu.udistrital.mdp:MP_202610_G81_E1_Back [INFO] 19:51:43.085 Base dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back [INFO] 19:51:43.085 Working dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/sonar [INFO] 19:51:43.099 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' [INFO] 19:51:43.114 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' (done) | time=15ms [INFO] 19:51:43.152 Load quality profiles [INFO] 19:51:43.202 Load quality profiles (done) | time=50ms [INFO] 19:51:43.222 Auto-configuring with CI 'Jenkins' [INFO] 19:51:43.261 Load active rules [INFO] 19:51:43.535 Load active rules (done) | time=274ms [INFO] 19:51:43.542 Load analysis cache [INFO] 19:51:43.562 Load analysis cache (4.3 kB) | time=20ms [INFO] 19:51:43.643 Preprocessing files... [INFO] 19:51:43.843 2 languages detected in 107 preprocessed files [INFO] 19:51:43.844 0 files ignored because of scm ignore settings [INFO] 19:51:43.846 Loading plugins for detected languages [INFO] 19:51:43.846 Load/download plugins [INFO] 19:51:44.165 Load/download plugins (done) | time=319ms [INFO] 19:51:44.292 Load project repositories [INFO] 19:51:44.435 Load project repositories (done) | time=143ms [INFO] 19:51:44.462 Indexing files... [INFO] 19:51:44.463 Project configuration: [INFO] 19:51:44.463 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/** [INFO] 19:51:44.482 107 files indexed [INFO] 19:51:44.483 Quality profile for java: Sonar way MP [INFO] 19:51:44.484 Quality profile for xml: Sonar way [INFO] 19:51:44.484 ------------- Run sensors on module MP_202610_G81_E1_Back [INFO] 19:51:44.547 Load metrics repository [INFO] 19:51:44.565 Load metrics repository (done) | time=18ms [INFO] 19:51:45.390 Sensor JavaSensor [java] [INFO] 19:51:45.394 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 19:51:45.422 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 19:51:45.423 Using ECJ batch to parse 84 Main java source files with batch size 104 KB. [INFO] 19:51:45.785 Starting batch processing. [INFO] 19:51:46.353 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 19:51:49.281 100% analyzed [INFO] 19:51:49.281 Batch processing: Done. [INFO] 19:51:49.285 Did not optimize analysis for any files, performed a full analysis for all 84 files. [WARNING] 19:51:49.288 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 19:51:49.288 Using ECJ batch to parse 22 Test java source files with batch size 104 KB. [INFO] 19:51:49.303 Starting batch processing. [INFO] 19:51:50.743 100% analyzed [INFO] 19:51:50.743 Batch processing: Done. [INFO] 19:51:50.744 Did not optimize analysis for any files, performed a full analysis for all 22 files. [INFO] 19:51:50.744 No "Generated" source files to scan. [INFO] 19:51:50.744 Sensor JavaSensor [java] (done) | time=5354ms [INFO] 19:51:50.744 Sensor SurefireSensor [java] [INFO] 19:51:50.746 parsing [/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/surefire-reports] [INFO] 19:51:50.883 Sensor SurefireSensor [java] (done) | time=139ms [INFO] 19:51:50.883 Sensor XML Sensor [xml] [INFO] 19:51:50.889 1 source file to be analyzed [INFO] 19:51:51.033 1/1 source file has been analyzed [INFO] 19:51:51.034 Sensor XML Sensor [xml] (done) | time=151ms [INFO] 19:51:51.034 Sensor JaCoCo XML Report Importer [jacoco] [WARNING] 19:51:51.036 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] 19:51:51.039 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 19:51:51.102 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=68ms [INFO] 19:51:51.102 Sensor Java Config Sensor [iac] [INFO] 19:51:51.122 0 source files to be analyzed [INFO] 19:51:51.122 0/0 source files have been analyzed [INFO] 19:51:51.123 Sensor Java Config Sensor [iac] (done) | time=21ms [INFO] 19:51:51.123 Sensor IaC Docker Sensor [iac] [INFO] 19:51:51.199 0 source files to be analyzed [INFO] 19:51:51.199 0/0 source files have been analyzed [INFO] 19:51:51.200 Sensor IaC Docker Sensor [iac] (done) | time=77ms [INFO] 19:51:51.200 Sensor TextAndSecretsSensor [text] [INFO] 19:51:51.200 Available processors: 4 [INFO] 19:51:51.200 Using 4 threads for analysis. [INFO] 19:51:51.581 Using git CLI to retrieve untracked files [WARNING] 19:51:51.584 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] 19:51:51.610 107 source files to be analyzed [INFO] 19:51:51.864 107/107 source files have been analyzed [INFO] 19:51:51.865 Sensor TextAndSecretsSensor [text] (done) | time=665ms [INFO] 19:51:51.869 ------------- Run sensors on project [INFO] 19:51:52.010 Sensor Zero Coverage Sensor [INFO] 19:51:52.011 Sensor Zero Coverage Sensor (done) | time=1ms [INFO] 19:51:52.011 Sensor Java CPD Block Indexer [INFO] 19:51:52.094 Sensor Java CPD Block Indexer (done) | time=83ms [INFO] 19:51:52.094 ------------- Gather SCA dependencies on project [INFO] 19:51:52.109 SCM Publisher SCM provider for this project is: git [INFO] 19:51:52.110 SCM Publisher 20 source files to be analyzed [INFO] 19:51:52.576 SCM Publisher 20/20 source files have been analyzed (done) | time=465ms [INFO] 19:51:52.585 CPD Executor 40 files had no CPD blocks [INFO] 19:51:52.585 CPD Executor Calculating CPD for 44 files [INFO] 19:51:52.598 CPD Executor CPD calculation finished (done) | time=13ms [INFO] 19:51:52.603 SCM revision ID 'e2cebd59b29f7cbff4dcabec3a8b5e6ceb2809fb' [INFO] 19:51:52.744 Analysis report generated in 126ms, dir size=909.9 kB [INFO] 19:51:53.001 Analysis report compressed in 257ms, zip size=355.6 kB [INFO] 19:51:53.037 Analysis report uploaded in 35ms [INFO] 19:51:53.039 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] 19:51:53.039 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 19:51:53.039 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=06bb7601-e357-477b-936f-09c5ed61a031 [INFO] 19:51:53.075 Analysis total time: 10.348 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.147 s [INFO] Finished at: 2026-03-23T19:51:53Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 aa94ca28a72932471c2d3830eae9a240711886f8482a826ced874aebd1038d7e $ docker rm -f --volumes aa94ca28a72932471c2d3830eae9a240711886f8482a826ced874aebd1038d7e [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