Started by GitHub push by Stefy1302 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 6313364ca572ea64f9dc11c47dfb5af441ce66cd (refs/remotes/origin/main) Commit message: "Merge pull request #82 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 6313364ca572ea64f9dc11c47dfb5af441ce66cd # timeout=10 > git rev-list --no-walk 5e52fd34687cca2c79de8c4a1e2209e4e40cbe72 # 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: fix: solve Issues in Sonar [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 6313364ca572ea64f9dc11c47dfb5af441ce66cd (refs/remotes/origin/main) Commit message: "Merge pull request #82 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 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 > 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 6313364ca572ea64f9dc11c47dfb5af441ce66cd # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main 6313364ca572ea64f9dc11c47dfb5af441ce66cd # timeout=10 $ docker top 705efa392cf6cdd819b0f881ae6d12fd9901ac02d39f382c0592ee164b9686ce -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 78 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 20 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.082 s -- in co.edu.udistrital.mdp.pets.strategies.NotificationStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 s -- in co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 04:57:25.986 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 04:57:26.257 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-23T04:57:27.064Z 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-23T04:57:27.067Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:27.716Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:27.852Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 121 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:27.962Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:28.125Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:61eb679b-654d-4623-954e-523f4d6c8b59;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:28.800Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:28.897Z INFO 92 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-23T04:57:28.967Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:29.486Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:29.575Z 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-23T04:57:29.614Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@78a4914d'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:31.987Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:32.149Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:33.197Z INFO 92 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T04:57:34.038Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 7.64 seconds (process running for 9.942) 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 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-23T04:57:34.820Z 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-23T04:57:34.881Z 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-23T04:57:34.905Z 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-23T04:57:34.940Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 11 2026-03-23T04:57:34.941Z 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-23T04:57:34.961Z 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-23T04:57:35.004Z 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-23T04:57:35.024Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 22 2026-03-23T04:57:35.025Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 22 Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:57:35.171Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 999 2026-03-23T04:57:35.171Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:57:35.194Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Starting creation process for adopter: nuevo_adopter@test.com 2026-03-23T04:57:35.194Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: nuevo_adopter@test.com Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=? Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:57:35.238Z 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-23T04:57:35.257Z 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-23T04:57:35.275Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:57:35.316Z 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-23T04:57:35.338Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 50 2026-03-23T04:57:35.338Z 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: 9.650 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-23T04:57:35.347Z 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-23T04:57:35.351Z 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-23T04:57:35.380Z 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-23T04:57:35.380Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:35.486Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:35.516Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 28 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:35.544Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:35.562Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:640b4ed0-988c-40b9-895b-2b92835660c5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:35.584Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:35.586Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:35.595Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:35.596Z 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-23T04:57:35.597Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@24482cb'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:35.804Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:35.867Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:36.110Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.754 seconds (process running for 12.014) 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-23T04:57:36.153Z 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-23T04:57:36.222Z 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-23T04:57:36.249Z 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-23T04:57:36.254Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con ID: 18 eliminado exitosamente 2026-03-23T04:57:36.255Z INFO 92 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 18 2026-03-23T04:57:36.255Z 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-23T04:57:36.270Z 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-23T04:57:36.271Z 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-23T04:57:36.302Z 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-23T04:57:36.304Z 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-23T04:57:36.320Z 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-23T04:57:36.321Z 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-23T04:57:36.358Z 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-23T04:57:36.359Z 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-23T04:57:36.373Z 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-23T04:57:36.405Z 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-23T04:57:36.419Z 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-23T04:57:36.433Z 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.096 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-23T04:57:36.444Z 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-23T04:57:36.454Z 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-23T04:57:36.479Z 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-23T04:57:36.479Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:36.575Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:36.603Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:36.624Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:36.639Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d9f7390c-e79a-487d-9eda-6d6b4fb7ca71;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:36.661Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:36.663Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:36.671Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:36.672Z 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-23T04:57:36.673Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@315b5cc'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:36.849Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:36.900Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:37.105Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.648 seconds (process running for 13.009) 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-23T04:57:37.150Z 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-23T04:57:37.218Z 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-23T04:57:37.234Z 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-23T04:57:37.358Z 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-23T04:57:37.375Z 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-23T04:57:37.412Z 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-23T04:57:37.452Z 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-23T04:57:37.488Z 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-23T04:57:37.503Z 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-23T04:57:37.556Z 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.176 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest 2026-03-23T04:57:37.622Z 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-23T04:57:37.625Z 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-23T04:57:37.646Z 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-23T04:57:37.647Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:37.721Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:37.745Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:37.764Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:37.777Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2896c55a-e54c-43be-95ec-85c82d12d65b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:37.794Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:37.796Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:37.804Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:37.805Z 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-23T04:57:37.806Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1acf5609'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:37.968Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:38.012Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:38.196Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Started ShelterEventServiceTest in 0.569 seconds (process running for 14.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) 2026-03-23T04:57:38.213Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 2026-03-23T04:57:38.215Z 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-23T04:57:38.234Z 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-23T04:57:38.250Z 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-23T04:57:38.276Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 14 2026-03-23T04:57:38.277Z 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-23T04:57:38.385Z 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-23T04:57:38.534Z 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-23T04:57:38.548Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 54 2026-03-23T04:57:38.550Z 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-23T04:57:38.563Z 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.946 s -- in co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-23T04:57:38.575Z 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-23T04:57:38.581Z 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-23T04:57:38.608Z 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-23T04:57:38.608Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:38.702Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:38.727Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:38.748Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:38.763Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d704359f-bd8a-4f51-93c7-9895437a1594;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:38.799Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:38.802Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:38.811Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:38.813Z 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-23T04:57:38.814Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@483f21fd'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:38.964Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:39.004Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:39.187Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.601 seconds (process running for 15.091) 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-23T04:57:39.267Z 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-23T04:57:39.279Z 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-23T04:57:39.293Z 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-23T04:57:39.315Z 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-23T04:57:39.350Z 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-23T04:57:39.364Z 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-23T04:57:39.379Z 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-23T04:57:39.450Z 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-23T04:57:39.473Z 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-23T04:57:39.485Z 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-23T04:57:39.497Z 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-23T04:57:39.543Z 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.977 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest 2026-03-23T04:57:39.553Z 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-23T04:57:39.560Z 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-23T04:57:39.581Z 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-23T04:57:39.582Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:39.647Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:39.671Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:39.689Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:39.700Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:36b6ddba-abae-40ea-bfa0-f8045bff3c7e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:39.717Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:39.719Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:39.728Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:39.729Z 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-23T04:57:39.730Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@68d9b2b8'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:39.868Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:39.905Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:40.100Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Started AdoptionFollowUpServiceTest in 0.537 seconds (process running for 16.003) 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-23T04:57:40.142Z 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-23T04:57:40.155Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción 2026-03-23T04:57:40.156Z 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-23T04:57:40.200Z 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-23T04:57:40.214Z 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.665 s -- in co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest 2026-03-23T04:57:40.220Z 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-23T04:57:40.223Z 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-23T04:57:40.242Z 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-23T04:57:40.242Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:40.321Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:40.343Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:40.360Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:40.371Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8666f8e4-1029-4909-bc7e-e79a4cc0fe14;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:40.385Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:40.387Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:40.394Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:40.395Z 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-23T04:57:40.396Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1d3c21e1'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:40.522Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:40.558Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:40.734Z INFO 92 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Started VaccinationRecordServiceTest in 0.509 seconds (process running for 16.638) 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-23T04:57:40.775Z 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-23T04:57:40.913Z 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-23T04:57:40.933Z 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-23T04:57:40.952Z 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-23T04:57:40.970Z 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-23T04:57:40.988Z 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-23T04:57:41.016Z 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-23T04:57:41.065Z 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-23T04:57:41.082Z 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-23T04:57:41.099Z 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.883 s -- in co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-23T04:57:41.104Z 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-23T04:57:41.111Z 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-23T04:57:41.129Z 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-23T04:57:41.129Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:41.187Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:41.207Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:41.223Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:41.233Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1cba6465-3dd3-495b-a90a-250268470e29;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:41.250Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:41.251Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:41.259Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:41.260Z 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-23T04:57:41.260Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3b78110b'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:41.386Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:41.422Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:41.594Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.481 seconds (process running for 17.498) 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-23T04:57:41.654Z 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-23T04:57:41.678Z 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-23T04:57:41.723Z 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-23T04:57:41.759Z 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-23T04:57:41.773Z 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-23T04:57:41.872Z 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-23T04:57:41.886Z 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-23T04:57:41.914Z 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.856 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-23T04:57:41.962Z 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-23T04:57:41.969Z 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-23T04:57:41.991Z 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-23T04:57:41.992Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:42.059Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:42.080Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:42.095Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:42.106Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8bdfd1a9-a249-4082-a705-56d690eb79ea;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:42.122Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:42.124Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:42.132Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:42.133Z 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-23T04:57:42.134Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3c0052fd'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:42.263Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:42.296Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:42.436Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.465 seconds (process running for 18.34) 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-23T04:57:42.447Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 1 2026-03-23T04:57:42.448Z 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-23T04:57:42.456Z 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-23T04:57:42.468Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting creation process for adoption 2026-03-23T04:57:42.468Z 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-23T04:57:42.477Z 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-23T04:57:42.488Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 14 2026-03-23T04:57:42.488Z 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-23T04:57:42.497Z 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-23T04:57:42.505Z 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-23T04:57:42.507Z 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-23T04:57:42.515Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 23 2026-03-23T04:57:42.516Z 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-23T04:57:42.524Z 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-23T04:57:42.558Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 29 2026-03-23T04:57:42.558Z 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-23T04:57:42.566Z 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-23T04:57:42.574Z 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-23T04:57:42.583Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 38 2026-03-23T04:57:42.584Z 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-23T04:57:42.592Z 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.635 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-23T04:57:42.598Z 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-23T04:57:42.607Z 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-23T04:57:42.626Z 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-23T04:57:42.626Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:42.692Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:42.715Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:42.732Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:42.744Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9bef11e7-957f-4ab5-9ead-9f37b88afe21;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:42.762Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:42.764Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:42.772Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:42.774Z 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-23T04:57:42.774Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5dc7d2d0'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:42.906Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:42.941Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:43.096Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.486 seconds (process running for 19.0) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:57:43.110Z 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-23T04:57:43.126Z 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-23T04:57:43.136Z 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-23T04:57:43.140Z 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-23T04:57:43.148Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: DSghEdS1vk 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-23T04:57:43.160Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 14 2026-03-23T04:57:43.161Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 14 deleted successfully Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:57:43.170Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 0L1Xff6b32 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-23T04:57:43.178Z 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-23T04:57:43.189Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 26 2026-03-23T04:57:43.190Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 26 but it has active events Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:57:43.198Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 27 Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only 2026-03-23T04:57:43.200Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id = 27 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-23T04:57:43.210Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 30 2026-03-23T04:57:43.210Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 30 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-23T04:57:43.218Z 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-23T04:57:43.219Z ERROR 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id 999 not found Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:57:43.234Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 39 2026-03-23T04:57:43.235Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 39 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-23T04:57:43.245Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 3NNasKh7iA 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-23T04:57:43.253Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 45 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-23T04:57:43.263Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 48 2026-03-23T04:57:43.264Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 48 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-23T04:57:43.272Z 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-23T04:57:43.282Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 54 2026-03-23T04:57:43.282Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 54 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-23T04:57:43.290Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: sQFBuK0CCE 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-23T04:57:43.298Z 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-23T04:57:43.308Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 63 2026-03-23T04:57:43.308Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 63 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-23T04:57:43.317Z 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-23T04:57:43.328Z 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-23T04:57:43.339Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: ggjD3G6J_y 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-23T04:57:43.379Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: F1j4JAC_4H 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-23T04:57:43.388Z 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-23T04:57:43.400Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 81 2026-03-23T04:57:43.400Z WARN 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 81 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-23T04:57:43.409Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: XlrgA2L5mA 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-23T04:57:43.416Z 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-23T04:57:43.424Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 90 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-23T04:57:43.434Z 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-23T04:57:43.437Z 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-23T04:57:43.446Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 97 2026-03-23T04:57:43.447Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 97 deleted successfully [INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.853 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-23T04:57:43.452Z 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-23T04:57:43.458Z 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-23T04:57:43.473Z 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-23T04:57:43.474Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:43.528Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:43.547Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:43.560Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:43.570Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:fb45e458-dfff-4bc6-8681-9f379775ab8c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:43.584Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:43.585Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:43.592Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:43.594Z 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-23T04:57:43.594Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6024f13e'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:43.706Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:43.735Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:43.870Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.409 seconds (process running for 19.774) Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:43.884Z 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-23T04:57:43.894Z 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-23T04:57:43.905Z 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-23T04:57:43.917Z 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-23T04:57:43.929Z 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-23T04:57:43.939Z 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-23T04:57:43.983Z 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-23T04:57:43.993Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: F75GrKseNW Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.002Z 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-23T04:57:44.017Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: BmeXIFczWk Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.027Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: sKcnaRIIu8 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.036Z 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-23T04:57:44.047Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: p7YNR1e6fI Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,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-23T04:57:44.065Z 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-23T04:57:44.075Z 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-23T04:57:44.095Z 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-23T04:57:44.105Z 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-23T04:57:44.115Z 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-23T04:57:44.125Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: xUfU9FRryt Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.134Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: DwVGIgS23A Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.144Z 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-23T04:57:44.154Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: QpM0AfkDxH Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,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-23T04:57:44.174Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: Ik9M87Fclt Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:57:44.184Z 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-23T04:57:44.195Z 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-23T04:57:44.207Z 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-23T04:57:44.218Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: mZ7VN21ytA Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.227Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: YtM3xmD979 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.236Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: WzHSu7oJRT Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.245Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 0hWvDQTzpn Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:57:44.272Z 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-23T04:57:44.282Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: JxfxyYZBvD Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.292Z 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-23T04:57:44.302Z 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-23T04:57:44.313Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: r88qJMqxNO Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:57:44.322Z 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-23T04:57:44.332Z 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-23T04:57:44.343Z 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-23T04:57:44.354Z 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-23T04:57:44.363Z 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-23T04:57:44.372Z 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-23T04:57:44.382Z 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-23T04:57:44.391Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: MNRdTcMRCJ Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:57:44.401Z 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-23T04:57:44.410Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 88Kua_64g0 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:57:44.419Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: tZVIi6L_Yy Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,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-23T04:57:44.430Z 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.981 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-23T04:57:44.435Z 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-23T04:57:44.437Z 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-23T04:57:44.452Z 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-23T04:57:44.452Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:44.505Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:44.524Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:44.536Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:44.546Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b81a5cf5-c2f5-4614-bc6c-7dca90d37beb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:44.560Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:44.561Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:44.568Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:44.570Z 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-23T04:57:44.570Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@538572ce'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:44.682Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:44.711Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:44.896Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.457 seconds (process running for 20.8) 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-23T04:57:44.922Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 1 2026-03-23T04:57:44.923Z 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-23T04:57:44.935Z 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-23T04:57:44.948Z 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-23T04:57:44.959Z 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-23T04:57:44.975Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 13 2026-03-23T04:57:44.976Z 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-23T04:57:45.014Z 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-23T04:57:45.031Z 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-23T04:57:45.042Z 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-23T04:57:45.054Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: nuevo_vet@test.com 2026-03-23T04:57:45.054Z 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-23T04:57:45.075Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 30 2026-03-23T04:57:45.075Z 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-23T04:57:45.088Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 32 2026-03-23T04:57:45.088Z 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-23T04:57:45.103Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: byDzA6bKIR 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-23T04:57:45.116Z 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-23T04:57:45.127Z 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-23T04:57:45.140Z 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-23T04:57:45.151Z 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-23T04:57:45.163Z 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-23T04:57:45.174Z 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-23T04:57:45.186Z INFO 92 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 999 2026-03-23T04:57:45.186Z 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.756 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-23T04:57:45.193Z 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-23T04:57:45.195Z 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-23T04:57:45.214Z 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-23T04:57:45.215Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:45.273Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:45.292Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:45.305Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:45.314Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9c2748dd-c9d9-4eb2-9381-bcc8258ea813;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:45.328Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:45.329Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:45.339Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:45.340Z 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-23T04:57:45.341Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@df3e61f'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:45.451Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:45.479Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:45.612Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.414 seconds (process running for 21.516) 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 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-23T04:57:45.631Z 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 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-23T04:57:45.643Z 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 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-23T04:57:45.651Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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 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-23T04:57:45.669Z 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 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-23T04:57:45.680Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com 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-23T04:57:45.687Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: 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-23T04:57:45.695Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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-23T04:57:45.703Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: null 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-23T04:57:45.711Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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 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-23T04:57:45.725Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 38 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-23T04:57:45.732Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 41 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 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-23T04:57:45.742Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 44 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? 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-23T04:57:45.758Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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-23T04:57:45.768Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 53 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 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-23T04:57:45.808Z 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 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-23T04:57:45.818Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: email_sin_arroba.com 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-23T04:57:45.825Z 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 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-23T04:57:45.838Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 69 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? 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-23T04:57:45.847Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: correo-sin-arroba.com 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-23T04:57:45.854Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: mWXitYAUzr 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-23T04:57:45.861Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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 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-23T04:57:45.875Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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-23T04:57:45.882Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com 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-23T04:57:45.889Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valido@test.com 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-23T04:57:45.896Z 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: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.707 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-23T04:57:45.901Z 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-23T04:57:45.906Z 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-23T04:57:45.920Z 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-23T04:57:45.920Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:45.970Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:45.988Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:45.999Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:46.008Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:3b6848da-8c51-40f8-83f7-f8b2ac37e13a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:46.021Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:46.023Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:46.030Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:46.031Z 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-23T04:57:46.031Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3cd491d6'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:46.132Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:46.159Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:46.280Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.372 seconds (process running for 22.184) 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-23T04:57:46.290Z 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-23T04:57:46.298Z 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-23T04:57:46.304Z 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-23T04:57:46.306Z 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-23T04:57:46.312Z 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-23T04:57:46.319Z 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-23T04:57:46.326Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 21 2026-03-23T04:57:46.326Z 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-23T04:57:46.333Z 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-23T04:57:46.339Z 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-23T04:57:46.347Z 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-23T04:57:46.353Z 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-23T04:57:46.362Z 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-23T04:57:46.369Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 41 2026-03-23T04:57:46.370Z 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-23T04:57:46.376Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 42 2026-03-23T04:57:46.377Z 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-23T04:57:46.383Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 48 2026-03-23T04:57:46.383Z 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-23T04:57:46.390Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 52 2026-03-23T04:57:46.390Z 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-23T04:57:46.397Z 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-23T04:57:46.403Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 59 2026-03-23T04:57:46.403Z 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-23T04:57:46.410Z 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-23T04:57:46.416Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T04:57:46.416Z 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-23T04:57:46.422Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T04:57:46.422Z 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-23T04:57:46.428Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 74 2026-03-23T04:57:46.428Z 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-23T04:57:46.435Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 78 2026-03-23T04:57:46.435Z 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-23T04:57:46.441Z 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-23T04:57:46.447Z 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-23T04:57:46.453Z 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-23T04:57:46.461Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T04:57:46.461Z 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-23T04:57:46.467Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 95 2026-03-23T04:57:46.468Z 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-23T04:57:46.474Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 99 2026-03-23T04:57:46.475Z 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-23T04:57:46.481Z 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-23T04:57:46.487Z 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-23T04:57:46.494Z INFO 92 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 107 2026-03-23T04:57:46.494Z 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.596 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest 2026-03-23T04:57:46.498Z 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-23T04:57:46.503Z 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-23T04:57:46.516Z 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-23T04:57:46.516Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:46.566Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:46.605Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 37 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:46.616Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:46.625Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:baaded33-851c-4786-8643-5db5bb50f7c5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:46.638Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:46.640Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:46.647Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:46.648Z 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-23T04:57:46.648Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@68320fb2'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:46.748Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:46.775Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:46.897Z INFO 92 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.392 seconds (process running for 22.801) Hibernate: delete from report_entity re1_0 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 user_entity (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: 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 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-23T04:57:46.917Z 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 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 user_entity (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=? [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.432 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-23T04:57:46.931Z 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-23T04:57:46.936Z 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-23T04:57:46.949Z 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-23T04:57:46.949Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:46.999Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:47.016Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:47.027Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:47.037Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4386bc84-4c53-4316-bf08-f0f2c9fe0035;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:47.050Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:47.051Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:47.058Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:47.059Z 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-23T04:57:47.059Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3952b4e7'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:47.156Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:47.181Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:47.298Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.359 seconds (process running for 23.201) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:57:47.310Z 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-23T04:57:47.313Z 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-23T04:57:47.324Z 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-23T04:57:47.368Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 7 2026-03-23T04:57:47.369Z 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-23T04:57:47.388Z 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-23T04:57:47.402Z 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-23T04:57:47.407Z 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-23T04:57:47.417Z 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-23T04:57:47.418Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica ID: 19 eliminada exitosamente 2026-03-23T04:57:47.419Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 19 2026-03-23T04:57:47.419Z 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-23T04:57:47.430Z 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-23T04:57:47.440Z 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-23T04:57:47.450Z 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-23T04:57:47.461Z 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.535 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-23T04:57:47.468Z 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-23T04:57:47.474Z 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-23T04:57:47.490Z 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-23T04:57:47.490Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:57:47.545Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:47.563Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:47.574Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:57:47.584Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:68686e5f-858a-42e2-b379-def17b1b4506;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:57:47.598Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:47.599Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:47.607Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:47.608Z 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-23T04:57:47.609Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@dfa9893'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:57:47.750Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:57:47.777Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:47.905Z INFO 92 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.429 seconds (process running for 23.809) 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.513 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 358, 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 38 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-23T04:57:50.609Z INFO 186 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 186 (/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/classes started by root in /home/cecaduser/workspace/MP_202610_G81_E1_Back) 2026-03-23T04:57:50.612Z INFO 186 --- [ main] c.e.udistrital.mdp.pets.MainApplication : The following 1 profile is active: "integration-tests" 2026-03-23T04:57:51.382Z INFO 186 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:57:51.499Z INFO 186 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 106 ms. Found 20 JPA repository interfaces. 2026-03-23T04:57:52.051Z INFO 186 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8999 (http) 2026-03-23T04:57:52.065Z INFO 186 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-03-23T04:57:52.066Z INFO 186 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.50] 2026-03-23T04:57:52.111Z INFO 186 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-03-23T04:57:52.112Z INFO 186 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1453 ms 2026-03-23T04:57:52.295Z INFO 186 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:57:52.339Z INFO 186 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-23T04:57:52.370Z INFO 186 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:57:52.664Z INFO 186 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:57:52.691Z INFO 186 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-03-23T04:57:52.870Z INFO 186 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:pets user=SA 2026-03-23T04:57:52.872Z INFO 186 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-03-23T04:57:52.896Z WARN 186 --- [ 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-23T04:57:52.925Z INFO 186 --- [ 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-23T04:57:54.267Z INFO 186 --- [ 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-23T04:57:54.371Z INFO 186 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:54.821Z INFO 186 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T04:57:55.866Z INFO 186 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-23T04:57:55.936Z INFO 186 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8999 (http) with context path '/api' 2026-03-23T04:57:55.945Z INFO 186 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 5.815 seconds (process running for 6.441) [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-23T04:57:56.714Z INFO 186 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested. 2026-03-23T04:57:56.716Z INFO 186 --- [on(2)-127.0.0.1] o.s.b.w.e.tomcat.GracefulShutdown : Commencing graceful shutdown. Waiting for active requests to complete 2026-03-23T04:57:56.721Z INFO 186 --- [tomcat-shutdown] o.s.b.w.e.tomcat.GracefulShutdown : Graceful shutdown complete 2026-03-23T04:57:56.727Z INFO 186 --- [on(2)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:57:56.745Z INFO 186 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2026-03-23T04:57:56.748Z INFO 186 --- [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: 38.960 s [INFO] Finished at: 2026-03-23T04:57:56Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 705efa392cf6cdd819b0f881ae6d12fd9901ac02d39f382c0592ee164b9686ce $ docker rm -f --volumes 705efa392cf6cdd819b0f881ae6d12fd9901ac02d39f382c0592ee164b9686ce [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 56b5029e27e8274afbf09686bccf023a7dac074e3244b1bd9645eefdd4f64785 -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.077 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.037 s -- in co.edu.udistrital.mdp.pets.strategies.AdoptionRequestStrategyTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 04:58:04.117 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 04:58:04.375 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.10) 2026-03-23T04:58:05.232Z 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-23T04:58:05.234Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:05.964Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:06.100Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 121 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:06.214Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:06.373Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ad2de4ad-4444-46f0-908b-0657e53fff7f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:07.046Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:07.146Z INFO 71 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.41.Final 2026-03-23T04:58:07.217Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:07.781Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:07.874Z 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-23T04:58:07.915Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@70b716a8'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:10.305Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:10.459Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:11.308Z INFO 71 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T04:58:12.141Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 7.62 seconds (process running for 9.836) 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 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-23T04:58:12.907Z 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-23T04:58:12.966Z 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-23T04:58:12.992Z 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-23T04:58:13.024Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 11 2026-03-23T04:58:13.025Z 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-23T04:58:13.049Z 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-23T04:58:13.095Z 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-23T04:58:13.117Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 22 2026-03-23T04:58:13.117Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 22 Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:58:13.235Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Updating adopter with id = 999 2026-03-23T04:58:13.236Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 999 Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:58:13.259Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Starting creation process for adopter: nuevo_adopter@test.com 2026-03-23T04:58:13.259Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: nuevo_adopter@test.com Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id where ue1_0.email=? Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:58:13.303Z 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-23T04:58:13.323Z 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-23T04:58:13.340Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 999 Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,s1_0.id,s1_0.city,s1_0.description,s1_0.email,s1_0.gallery,s1_0.name,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: select ue1_0.id,case when ue1_3.id is not null then 1 when ue1_1.id is not null then 2 when ue1_2.id is not null then 3 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone,ue1_1.has_children,ue1_1.has_other_pets,ue1_1.housing_type,ue1_2.availability,ue1_2.shelter_id,ue1_2.specialty from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join mock_user ue1_3 on ue1_0.id=ue1_3.id Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into HT_user_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_user_entity temptable_) Hibernate: delete from HT_user_entity Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone,id) values (?,?,?,?,default) Hibernate: insert into adopter_entity (has_children,has_other_pets,housing_type,id) values (?,?,?,?) 2026-03-23T04:58:13.382Z 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-23T04:58:13.403Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 50 2026-03-23T04:58:13.404Z 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: 9.578 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-23T04:58:13.413Z 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-23T04:58:13.417Z 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-23T04:58:13.459Z 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-23T04:58:13.460Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:13.566Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:13.594Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:13.617Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:13.634Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1dc2deca-abe7-4d0a-903c-98a5db257e41;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:13.656Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:13.658Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:13.667Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:13.668Z 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-23T04:58:13.669Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@31555760'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:13.867Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:13.932Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:14.175Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.755 seconds (process running for 11.87) 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-23T04:58:14.217Z 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-23T04:58:14.277Z 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-23T04:58:14.305Z 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-23T04:58:14.310Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Evento médico con ID: 18 eliminado exitosamente 2026-03-23T04:58:14.310Z INFO 71 --- [ main] c.e.u.m.p.services.MedicalEventService : Consultando evento médico con id = 18 2026-03-23T04:58:14.311Z 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-23T04:58:14.325Z 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-23T04:58:14.326Z 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-23T04:58:14.357Z 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-23T04:58:14.359Z 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-23T04:58:14.374Z 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-23T04:58:14.375Z 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-23T04:58:14.389Z 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-23T04:58:14.390Z 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-23T04:58:14.404Z 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-23T04:58:14.430Z 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-23T04:58:14.443Z 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-23T04:58:14.455Z 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.052 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-23T04:58:14.466Z 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-23T04:58:14.473Z 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-23T04:58:14.510Z 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-23T04:58:14.510Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:14.587Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:14.613Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:14.635Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:14.649Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:52d0e935-a406-40a0-a50e-6f14445ec866;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:14.670Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:14.672Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:14.680Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:14.681Z 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-23T04:58:14.682Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@31054abd'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:14.866Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:14.920Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:15.116Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.64 seconds (process running for 12.811) 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-23T04:58:15.156Z 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-23T04:58:15.209Z 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-23T04:58:15.225Z 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-23T04:58:15.345Z 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-23T04:58:15.363Z 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-23T04:58:15.396Z 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-23T04:58:15.431Z 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-23T04:58:15.466Z 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-23T04:58:15.481Z 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-23T04:58:15.535Z 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.135 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest 2026-03-23T04:58:15.603Z 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-23T04:58:15.606Z 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-23T04:58:15.627Z 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-23T04:58:15.627Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:15.714Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:15.737Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:15.755Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:15.768Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1359d450-dc8b-4685-9af6-206fe8bd066e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:15.785Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:15.786Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:15.794Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:15.796Z 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-23T04:58:15.796Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@58c68a4f'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:15.944Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:15.993Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:16.171Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterEventServiceTest : Started ShelterEventServiceTest in 0.562 seconds (process running for 13.866) Hibernate: delete from shelter_event_entity see1_0 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-23T04:58:16.189Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 1 2026-03-23T04:58:16.191Z 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-23T04:58:16.208Z 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-23T04:58:16.220Z 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-23T04:58:16.245Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 14 2026-03-23T04:58:16.246Z 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-23T04:58:16.329Z 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-23T04:58:16.478Z 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-23T04:58:16.492Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterEventService : Finishing shelter event with id = 54 2026-03-23T04:58:16.493Z 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-23T04:58:16.506Z 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.907 s -- in co.edu.udistrital.mdp.pets.services.ShelterEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-23T04:58:16.516Z 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-23T04:58:16.519Z 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-23T04:58:16.569Z 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-23T04:58:16.569Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:16.720Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:16.751Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:16.771Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:16.785Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d9c9dd94-29b2-408a-879f-67d6605ca0c8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:16.805Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:16.807Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:16.816Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:16.817Z 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-23T04:58:16.818Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@22363b82'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:16.959Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:16.996Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:17.160Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.634 seconds (process running for 14.855) 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-23T04:58:17.237Z 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-23T04:58:17.249Z 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-23T04:58:17.262Z 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-23T04:58:17.282Z 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-23T04:58:17.314Z 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-23T04:58:17.325Z 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-23T04:58:17.340Z 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-23T04:58:17.394Z 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-23T04:58:17.415Z 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-23T04:58:17.427Z 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-23T04:58:17.439Z 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-23T04:58:17.483Z 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.974 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest 2026-03-23T04:58:17.490Z 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-23T04:58:17.496Z 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-23T04:58:17.515Z 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-23T04:58:17.515Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:17.575Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:17.615Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 39 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:17.632Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:17.642Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:bbf2fd3f-1e20-4011-b13e-6989930391c5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:17.657Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:17.659Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:17.667Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:17.669Z 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-23T04:58:17.669Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@230963c'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:17.798Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:17.833Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:17.986Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpServiceTest : Started AdoptionFollowUpServiceTest in 0.487 seconds (process running for 15.681) 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-23T04:58:18.023Z 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-23T04:58:18.033Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionFollowUpService : Creando seguimiento de adopción 2026-03-23T04:58:18.034Z 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-23T04:58:18.070Z 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-23T04:58:18.080Z 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.594 s -- in co.edu.udistrital.mdp.pets.services.AdoptionFollowUpServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccinationRecordServiceTest 2026-03-23T04:58:18.085Z 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-23T04:58:18.087Z 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-23T04:58:18.105Z 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-23T04:58:18.105Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:18.163Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:18.184Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:18.200Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:18.211Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8f6f7b04-8b3e-4fb1-8b43-42953063fcf4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:18.226Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:18.227Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:18.234Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:18.236Z 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-23T04:58:18.236Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7486bce9'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:18.376Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:18.407Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:18.554Z INFO 71 --- [ main] c.e.u.m.p.s.VaccinationRecordServiceTest : Started VaccinationRecordServiceTest in 0.464 seconds (process running for 16.249) 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-23T04:58:18.590Z 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-23T04:58:18.716Z 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-23T04:58:18.737Z 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-23T04:58:18.777Z 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-23T04:58:18.799Z 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-23T04:58:18.816Z 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-23T04:58:18.831Z 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-23T04:58:18.878Z 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-23T04:58:18.894Z 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-23T04:58:18.910Z 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-23T04:58:18.916Z 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-23T04:58:18.922Z 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-23T04:58:18.958Z 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-23T04:58:18.959Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:19.024Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:19.044Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:19.058Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:19.069Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0f39eecf-74f3-4fbc-a1c9-9a3ad4f1708e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:19.086Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:19.087Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:19.096Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:19.097Z 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-23T04:58:19.097Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@282ae425'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:19.220Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:19.251Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:19.404Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.479 seconds (process running for 17.099) 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-23T04:58:19.452Z 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-23T04:58:19.474Z 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-23T04:58:19.488Z 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-23T04:58:19.518Z 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-23T04:58:19.529Z 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-23T04:58:19.611Z 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-23T04:58:19.624Z 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-23T04:58:19.650Z 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.777 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-23T04:58:19.694Z 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-23T04:58:19.700Z 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-23T04:58:19.739Z 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-23T04:58:19.739Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:19.796Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:19.816Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:19.829Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:19.839Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8e8ceab1-d442-4270-b473-0f4c17992cc5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:19.853Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:19.854Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:19.861Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:19.863Z 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-23T04:58:19.863Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4745d37'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:19.975Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:20.004Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:20.136Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.434 seconds (process running for 17.831) 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-23T04:58:20.145Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 1 2026-03-23T04:58:20.146Z 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-23T04:58:20.154Z 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-23T04:58:20.164Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting creation process for adoption 2026-03-23T04:58:20.165Z 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-23T04:58:20.173Z 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-23T04:58:20.183Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 14 2026-03-23T04:58:20.183Z 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-23T04:58:20.190Z 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-23T04:58:20.197Z 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-23T04:58:20.198Z 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-23T04:58:20.205Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 23 2026-03-23T04:58:20.206Z 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-23T04:58:20.212Z 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-23T04:58:20.219Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting deletion process for adoption ID: 29 2026-03-23T04:58:20.220Z 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-23T04:58:20.227Z 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-23T04:58:20.233Z 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-23T04:58:20.241Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Starting update process for adoption with id = 38 2026-03-23T04:58:20.241Z 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-23T04:58:20.249Z 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.558 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-23T04:58:20.254Z 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-23T04:58:20.259Z 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-23T04:58:20.275Z 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-23T04:58:20.276Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:20.355Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:20.380Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:20.396Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:20.409Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9986087c-21f6-4e67-acf2-648ede2f2a81;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:20.429Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:20.431Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:20.439Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:20.441Z 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-23T04:58:20.443Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@309697bf'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:20.598Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:20.631Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:20.793Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.532 seconds (process running for 18.488) 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-23T04:58:20.811Z 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-23T04:58:20.828Z 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-23T04:58:20.836Z 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-23T04:58:20.840Z 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-23T04:58:20.849Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: y7lkvN5qYD 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-23T04:58:20.859Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 14 2026-03-23T04:58:20.861Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 14 deleted successfully Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:58:20.868Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: sFjYXUMhEb 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-23T04:58:20.876Z 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-23T04:58:20.887Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 26 2026-03-23T04:58:20.887Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 26 but it has active events Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:58:20.895Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 27 Hibernate: select se1_0.id from shelter_entity se1_0 where se1_0.name=? fetch first ? rows only 2026-03-23T04:58:20.897Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id = 27 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-23T04:58:20.906Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 30 2026-03-23T04:58:20.907Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 30 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-23T04:58:20.914Z 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-23T04:58:20.915Z ERROR 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with id 999 not found Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_event_entity see1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) Hibernate: insert into shelter_entity (city,description,email,gallery,name,id) values (?,?,?,?,?,default) 2026-03-23T04:58:20.929Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 39 2026-03-23T04:58:20.930Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 39 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-23T04:58:20.937Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 3WllYV0EE0 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-23T04:58:20.944Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 45 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-23T04:58:20.953Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 48 2026-03-23T04:58:20.954Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 48 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-23T04:58:20.961Z 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-23T04:58:20.969Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 54 2026-03-23T04:58:20.970Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 54 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-23T04:58:20.977Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: 865q9fMXC3 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-23T04:58:20.984Z 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-23T04:58:20.992Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 63 2026-03-23T04:58:20.993Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 63 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-23T04:58:21.000Z 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-23T04:58:21.009Z 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-23T04:58:21.018Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: wCe544oCwd 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-23T04:58:21.025Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: pp7veuOZZF 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-23T04:58:21.032Z 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-23T04:58:21.044Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 81 2026-03-23T04:58:21.045Z WARN 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Attempted to delete shelter 81 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-23T04:58:21.052Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting creation process for shelter: aKCPscefMX 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-23T04:58:21.059Z 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-23T04:58:21.066Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting update process for shelter with id = 90 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-23T04:58:21.075Z 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-23T04:58:21.077Z 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-23T04:58:21.085Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Starting deletion process for shelter ID: 97 2026-03-23T04:58:21.086Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter with ID: 97 deleted successfully [INFO] Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.834 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-23T04:58:21.090Z 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-23T04:58:21.096Z 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-23T04:58:21.111Z 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-23T04:58:21.111Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:21.184Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:21.201Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:21.213Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:21.223Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:878bbf08-fc01-4680-97ed-78748b1ee4e2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:21.237Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:21.238Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:21.246Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:21.247Z 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-23T04:58:21.247Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@35b1add8'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:21.354Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:21.378Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:21.500Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.402 seconds (process running for 19.195) Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.512Z 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-23T04:58:21.521Z 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-23T04:58:21.531Z 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-23T04:58:21.542Z 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-23T04:58:21.552Z 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-23T04:58:21.562Z 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-23T04:58:21.580Z 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-23T04:58:21.589Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 0UKQDSZpue Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.597Z 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-23T04:58:21.610Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: BrmswuXS2u Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.639Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: hSj4RkKjnm Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.648Z 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-23T04:58:21.657Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: DiTqFVkaYA Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,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-23T04:58:21.672Z 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-23T04:58:21.681Z 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-23T04:58:21.699Z 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-23T04:58:21.708Z 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-23T04:58:21.716Z 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-23T04:58:21.724Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: hp6z_2c_Vr Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.732Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: EjunkOY5Ok Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.740Z 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-23T04:58:21.747Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: H6IfUCFJiH Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,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-23T04:58:21.765Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: nG5reAgRiz Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:58:21.774Z 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-23T04:58:21.783Z 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-23T04:58:21.792Z 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-23T04:58:21.801Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 358lbhcTeO Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.809Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: IMPEQ5mDxu Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.819Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: fPaNW4ttp_ Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.828Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: u99PwJU5WK Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:58:21.838Z 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-23T04:58:21.847Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: heaoPukIr5 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.855Z 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-23T04:58:21.864Z 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-23T04:58:21.872Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: mvRtD9KqXj Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:58:21.881Z 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-23T04:58:21.889Z 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-23T04:58:21.908Z 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-23T04:58:21.917Z 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-23T04:58:21.926Z 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-23T04:58:21.933Z 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-23T04:58:21.942Z 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-23T04:58:21.951Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: XgjBixjang Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:58:21.959Z 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-23T04:58:21.967Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: c3aDqjP1mx Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,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-23T04:58:21.976Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet: 1yBgy8BY16 Hibernate: delete from trial_cohabitation_entity tce1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_kids,good_with_pets,name,origin,photos,sex,shelter_id,size,space_required,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (activity_level,age,breed,description,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-23T04:58:21.986Z 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.899 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-23T04:58:21.991Z 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-23T04:58:21.993Z 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-23T04:58:22.007Z 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-23T04:58:22.007Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:22.057Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:22.075Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:22.087Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:22.096Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a1553a89-0e02-42a5-9514-8f4fe1dbf494;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:22.109Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:22.110Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:22.117Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:22.118Z 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-23T04:58:22.118Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@32c6f37'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:22.218Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:22.242Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:22.363Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.368 seconds (process running for 20.058) 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-23T04:58:22.375Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 1 2026-03-23T04:58:22.376Z 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-23T04:58:22.385Z 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-23T04:58:22.395Z 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-23T04:58:22.403Z 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-23T04:58:22.437Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 13 2026-03-23T04:58:22.439Z 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-23T04:58:22.454Z 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-23T04:58:22.463Z 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-23T04:58:22.471Z 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-23T04:58:22.481Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: nuevo_vet@test.com 2026-03-23T04:58:22.481Z 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-23T04:58:22.497Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 30 2026-03-23T04:58:22.497Z 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-23T04:58:22.506Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 32 2026-03-23T04:58:22.506Z 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-23T04:58:22.517Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Starting creation process for veterinarian: E_lNH2gf6R 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-23T04:58:22.527Z 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-23T04:58:22.536Z 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-23T04:58:22.544Z 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-23T04:58:22.552Z 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-23T04:58:22.561Z 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-23T04:58:22.569Z 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-23T04:58:22.577Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id = 999 2026-03-23T04:58:22.578Z 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.591 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-23T04:58:22.583Z 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-23T04:58:22.586Z 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-23T04:58:22.605Z 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-23T04:58:22.606Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:22.660Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:22.702Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 41 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:22.717Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:22.728Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b4da8d42-df28-4afc-8055-052c945b78be;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:22.742Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:22.744Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:22.753Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:22.754Z 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-23T04:58:22.755Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@796c6856'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:22.860Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:22.884Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:23.010Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.422 seconds (process running for 20.705) 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 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-23T04:58:23.054Z 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 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-23T04:58:23.065Z 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 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-23T04:58:23.072Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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 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-23T04:58:23.088Z 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 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-23T04:58:23.096Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com 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-23T04:58:23.103Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: 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-23T04:58:23.110Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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-23T04:58:23.117Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: null 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-23T04:58:23.123Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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 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-23T04:58:23.135Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 38 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-23T04:58:23.142Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 41 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 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-23T04:58:23.151Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 44 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? 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-23T04:58:23.166Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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-23T04:58:23.175Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Updating user with id = 53 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 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-23T04:58:23.192Z 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 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-23T04:58:23.202Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: email_sin_arroba.com 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-23T04:58:23.208Z 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 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-23T04:58:23.220Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Deleting user with id = 69 Hibernate: select count(ae1_0.id) from adoption_entity ae1_0 where ae1_0.adopter_id=? 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-23T04:58:23.228Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: correo-sin-arroba.com 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-23T04:58:23.234Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: T56wDU2_is 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-23T04:58:23.240Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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 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-23T04:58:23.252Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valid@email.com 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-23T04:58:23.258Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: user0@test.com 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-23T04:58:23.265Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Starting creation process for user: valido@test.com 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-23T04:58:23.271Z 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: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.691 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-23T04:58:23.276Z 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-23T04:58:23.283Z 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-23T04:58:23.300Z 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-23T04:58:23.300Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:23.352Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:23.370Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:23.382Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:23.394Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f36bb3f8-d6bb-411e-8c3b-7ac630fb2da0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:23.407Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:23.408Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:23.415Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:23.416Z 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-23T04:58:23.416Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@435c900b'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:23.514Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:23.539Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:23.692Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.406 seconds (process running for 21.387) 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-23T04:58:23.702Z 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-23T04:58:23.711Z 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-23T04:58:23.718Z 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-23T04:58:23.720Z 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-23T04:58:23.728Z 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-23T04:58:23.736Z 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-23T04:58:23.745Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 21 2026-03-23T04:58:23.745Z 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-23T04:58:23.753Z 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-23T04:58:23.762Z 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-23T04:58:23.771Z 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-23T04:58:23.778Z 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-23T04:58:23.787Z 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-23T04:58:23.794Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 41 2026-03-23T04:58:23.796Z 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-23T04:58:23.802Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 42 2026-03-23T04:58:23.803Z 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-23T04:58:23.810Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 48 2026-03-23T04:58:23.810Z 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-23T04:58:23.818Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 52 2026-03-23T04:58:23.818Z 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-23T04:58:23.825Z 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-23T04:58:23.832Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 59 2026-03-23T04:58:23.833Z 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-23T04:58:23.840Z 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-23T04:58:23.846Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T04:58:23.847Z 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-23T04:58:23.853Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T04:58:23.853Z 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-23T04:58:23.860Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 74 2026-03-23T04:58:23.861Z 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-23T04:58:23.868Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting deletion process for trial cohabitation ID: 78 2026-03-23T04:58:23.869Z 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-23T04:58:23.876Z 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-23T04:58:23.883Z 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-23T04:58:23.890Z 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-23T04:58:23.898Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting creation process for trial cohabitation 2026-03-23T04:58:23.898Z 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-23T04:58:23.906Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 95 2026-03-23T04:58:23.906Z 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-23T04:58:23.914Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 99 2026-03-23T04:58:23.914Z 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-23T04:58:23.921Z 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-23T04:58:23.928Z 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-23T04:58:23.935Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Starting update process for trial cohabitation with id = 107 2026-03-23T04:58:23.935Z 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.663 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest 2026-03-23T04:58:23.940Z 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-23T04:58:23.945Z 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-23T04:58:23.960Z 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-23T04:58:23.960Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:24.018Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:24.038Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:24.051Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:24.062Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a16a2045-3a24-4aa2-adbc-7ae0bcc5bccf;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:24.077Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:24.078Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:24.086Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:24.087Z 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-23T04:58:24.087Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@41c646b'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:24.201Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:24.226Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:24.352Z INFO 71 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.405 seconds (process running for 22.047) Hibernate: delete from report_entity re1_0 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 user_entity (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: 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 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-23T04:58:24.369Z 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 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 user_entity (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=? [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.443 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-23T04:58:24.383Z 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-23T04:58:24.387Z 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-23T04:58:24.400Z 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-23T04:58:24.401Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:24.447Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:24.464Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:24.474Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:24.483Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7126c0a8-3183-4f3e-a405-9e8ba05bfb91;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:24.496Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:24.497Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:24.503Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:24.504Z 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-23T04:58:24.505Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@45bb3f46'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:24.597Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:24.619Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:24.746Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.357 seconds (process running for 22.441) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into pet_entity (activity_level,age,breed,description,good_with_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-23T04:58:24.758Z 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-23T04:58:24.761Z 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-23T04:58:24.771Z 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-23T04:58:24.781Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Iniciando actualización de historia clínica con id = 7 2026-03-23T04:58:24.782Z 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-23T04:58:24.793Z 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-23T04:58:24.805Z 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-23T04:58:24.808Z 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-23T04:58:24.816Z 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-23T04:58:24.818Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Historia clínica ID: 19 eliminada exitosamente 2026-03-23T04:58:24.818Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryService : Consultando historia clínica con id = 19 2026-03-23T04:58:24.818Z 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-23T04:58:24.827Z 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-23T04:58:24.836Z 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-23T04:58:24.845Z 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-23T04:58:24.854Z 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.476 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest 2026-03-23T04:58:24.860Z 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-23T04:58:24.864Z 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-23T04:58:24.877Z 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-23T04:58:24.877Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T04:58:24.925Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T04:58:24.942Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 20 JPA repository interfaces. 2026-03-23T04:58:24.952Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T04:58:24.961Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4a4301a4-92a4-4d07-983b-30aa52ec7872;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T04:58:24.973Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T04:58:24.975Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T04:58:24.981Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T04:58:24.982Z 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-23T04:58:24.983Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@36fcc7ea'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(has_children boolean, has_other_pets boolean, HTE_IDENTITY bigint generated by default as identity, id bigint, availability varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone varchar(255), specialty varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_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_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 2026-03-23T04:58:25.075Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_follow_up_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists approval_strategy_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists mock_user cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists notification_strategy_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists report_entity cascade Hibernate: drop table if exists report_strategy_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_event_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccination_record_entity cascade Hibernate: drop table if exists vaccine_entity cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: create table adopter_entity (has_children boolean, has_other_pets boolean, id bigint not null, housing_type varchar(255), primary key (id)) Hibernate: create table adoption_entity (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table adoption_follow_up_entity (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_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_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 review_entity (date date, rating integer, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comment TEXT, primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, city varchar(255), description varchar(255), email varchar(255), gallery varchar(255), name varchar(255), primary key (id)) Hibernate: create table shelter_event_entity (date date, id bigint generated by default as identity, shelter_id bigint, description varchar(255), location varchar(255), title varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table trial_cohabitation_entity (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, result varchar(255), status enum ('CANCELLED','COMPLETED','CREATED','IN_PROGRESS','PENDING'), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, email varchar(255), name varchar(255), password varchar(255), phone varchar(255), primary key (id)) Hibernate: create table vaccination_record_entity (application_date date, next_due_date date, 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_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists adoption_request_entity add constraint FKpdxe7jyb75mwugces1axydwtg foreign key (strategy_id) references approval_strategy_entity Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists adoption_request_entity add constraint FKad0m44984i6frcsd86susx3df foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity Hibernate: alter table if exists message_entity add constraint FK1bx2fv4ukgy2ruq9gclvehfjw foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists message_entity add constraint FKc1jilfk3teueg8wfilq0u9h0y foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists mock_user add constraint FK1t7datqqs96rej2yoo133loxs foreign key (id) references user_entity Hibernate: alter table if exists notification_entity add constraint FKpsofie2xkbprbd9jo128ocuy9 foreign key (strategy_id) references notification_strategy_entity Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists report_entity add constraint FK6c18c90k2vnskwos9leqbmxrv foreign key (strategy_id) references report_strategy_entity Hibernate: alter table if exists report_entity add constraint 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 review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity Hibernate: alter table if exists review_entity add constraint FKhtmwv0o4w6vp5k7w088xwk0yt foreign key (pet_id) references pet_entity Hibernate: alter table if exists shelter_event_entity add constraint FKjj4fox0olnc8o73kdgso782es foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK608jf01b64pwvg12957nbsfsj foreign key (adoption_id) references adoption_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FKrxpesflvao88mgm4bmys2c3k1 foreign key (pet_id) references pet_entity Hibernate: alter table if exists vaccination_record_entity add constraint FKfo5r2fgxn4ltp9oubgnilaq41 foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vaccination_record_entity add constraint 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-23T04:58:25.096Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T04:58:25.208Z INFO 71 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.342 seconds (process running for 22.903) 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.413 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 358, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.727 s [INFO] Finished at: 2026-03-23T04:58:25Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 56b5029e27e8274afbf09686bccf023a7dac074e3244b1bd9645eefdd4f64785 $ docker rm -f --volumes 56b5029e27e8274afbf09686bccf023a7dac074e3244b1bd9645eefdd4f64785 [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 27cd82305c4720c471d92e0acb0551186546e0c5a3c815a625c534816555a6da -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] 04:58:30.483 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] 04:58:30.493 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 04:58:30.493 Linux 6.17.0-14-generic (amd64) [INFO] 04:58:30.665 User cache: /root/.sonar/cache [INFO] 04:58:31.284 Communicating with SonarQube Server 25.3.0.104237 [INFO] 04:58:31.302 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 04:58:32.206 Load global settings [INFO] 04:58:32.288 Load global settings (done) | time=84ms [INFO] 04:58:32.304 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 04:58:32.317 Loading required plugins [INFO] 04:58:32.317 Load plugins index [INFO] 04:58:32.379 Load plugins index (done) | time=62ms [INFO] 04:58:32.379 Load/download plugins [INFO] 04:58:32.638 Load/download plugins (done) | time=259ms [INFO] 04:58:33.007 Process project properties [INFO] 04:58:33.022 Process project properties (done) | time=15ms [INFO] 04:58:33.058 Project key: co.edu.udistrital.mdp:MP_202610_G81_E1_Back [INFO] 04:58:33.058 Base dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back [INFO] 04:58:33.058 Working dir: /home/cecaduser/workspace/MP_202610_G81_E1_Back/target/sonar [INFO] 04:58:33.072 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' [INFO] 04:58:33.086 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E1_Back' (done) | time=15ms [INFO] 04:58:33.115 Load quality profiles [INFO] 04:58:33.162 Load quality profiles (done) | time=46ms [INFO] 04:58:33.175 Auto-configuring with CI 'Jenkins' [INFO] 04:58:33.212 Load active rules [INFO] 04:58:33.490 Load active rules (done) | time=278ms [INFO] 04:58:33.497 Load analysis cache [INFO] 04:58:33.516 Load analysis cache (4.3 kB) | time=19ms [INFO] 04:58:33.601 Preprocessing files... [INFO] 04:58:33.801 2 languages detected in 99 preprocessed files [INFO] 04:58:33.801 0 files ignored because of scm ignore settings [INFO] 04:58:33.804 Loading plugins for detected languages [INFO] 04:58:33.804 Load/download plugins [INFO] 04:58:34.073 Load/download plugins (done) | time=269ms [INFO] 04:58:34.202 Load project repositories [INFO] 04:58:34.317 Load project repositories (done) | time=115ms [INFO] 04:58:34.338 Indexing files... [INFO] 04:58:34.339 Project configuration: [INFO] 04:58:34.339 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/** [INFO] 04:58:34.360 99 files indexed [INFO] 04:58:34.362 Quality profile for java: Sonar way MP [INFO] 04:58:34.362 Quality profile for xml: Sonar way [INFO] 04:58:34.362 ------------- Run sensors on module MP_202610_G81_E1_Back [INFO] 04:58:34.424 Load metrics repository [INFO] 04:58:34.443 Load metrics repository (done) | time=20ms [INFO] 04:58:35.251 Sensor JavaSensor [java] [INFO] 04:58:35.255 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 04:58:35.283 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 04:58:35.285 Using ECJ batch to parse 78 Main java source files with batch size 104 KB. [INFO] 04:58:35.654 Starting batch processing. [INFO] 04:58:36.243 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 04:58:39.346 100% analyzed [INFO] 04:58:39.346 Batch processing: Done. [INFO] 04:58:39.347 Did not optimize analysis for any files, performed a full analysis for all 78 files. [WARNING] 04:58:39.350 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 04:58:39.350 Using ECJ batch to parse 20 Test java source files with batch size 104 KB. [INFO] 04:58:39.363 Starting batch processing. [INFO] 04:58:40.679 100% analyzed [INFO] 04:58:40.680 Batch processing: Done. [INFO] 04:58:40.687 Did not optimize analysis for any files, performed a full analysis for all 20 files. [INFO] 04:58:40.687 No "Generated" source files to scan. [INFO] 04:58:40.687 Sensor JavaSensor [java] (done) | time=5436ms [INFO] 04:58:40.687 Sensor SurefireSensor [java] [INFO] 04:58:40.690 parsing [/home/cecaduser/workspace/MP_202610_G81_E1_Back/target/surefire-reports] [INFO] 04:58:40.835 Sensor SurefireSensor [java] (done) | time=148ms [INFO] 04:58:40.835 Sensor XML Sensor [xml] [INFO] 04:58:40.846 1 source file to be analyzed [INFO] 04:58:41.016 1/1 source file has been analyzed [INFO] 04:58:41.017 Sensor XML Sensor [xml] (done) | time=182ms [INFO] 04:58:41.017 Sensor JaCoCo XML Report Importer [jacoco] [WARNING] 04:58:41.019 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] 04:58:41.022 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 04:58:41.083 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=66ms [INFO] 04:58:41.083 Sensor Java Config Sensor [iac] [INFO] 04:58:41.104 0 source files to be analyzed [INFO] 04:58:41.105 0/0 source files have been analyzed [INFO] 04:58:41.105 Sensor Java Config Sensor [iac] (done) | time=22ms [INFO] 04:58:41.105 Sensor IaC Docker Sensor [iac] [INFO] 04:58:41.185 0 source files to be analyzed [INFO] 04:58:41.186 0/0 source files have been analyzed [INFO] 04:58:41.186 Sensor IaC Docker Sensor [iac] (done) | time=81ms [INFO] 04:58:41.186 Sensor TextAndSecretsSensor [text] [INFO] 04:58:41.186 Available processors: 4 [INFO] 04:58:41.186 Using 4 threads for analysis. [INFO] 04:58:41.587 Using git CLI to retrieve untracked files [WARNING] 04:58:41.591 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] 04:58:41.616 99 source files to be analyzed [INFO] 04:58:41.837 99/99 source files have been analyzed [INFO] 04:58:41.838 Sensor TextAndSecretsSensor [text] (done) | time=652ms [INFO] 04:58:41.842 ------------- Run sensors on project [INFO] 04:58:41.995 Sensor Zero Coverage Sensor [INFO] 04:58:41.996 Sensor Zero Coverage Sensor (done) | time=1ms [INFO] 04:58:41.996 Sensor Java CPD Block Indexer [INFO] 04:58:42.078 Sensor Java CPD Block Indexer (done) | time=82ms [INFO] 04:58:42.079 ------------- Gather SCA dependencies on project [INFO] 04:58:42.095 SCM Publisher SCM provider for this project is: git [INFO] 04:58:42.097 SCM Publisher 3 source files to be analyzed [INFO] 04:58:42.356 SCM Publisher 3/3 source files have been analyzed (done) | time=259ms [INFO] 04:58:42.375 CPD Executor 35 files had no CPD blocks [INFO] 04:58:42.375 CPD Executor Calculating CPD for 43 files [INFO] 04:58:42.398 CPD Executor CPD calculation finished (done) | time=23ms [INFO] 04:58:42.412 SCM revision ID '6313364ca572ea64f9dc11c47dfb5af441ce66cd' [INFO] 04:58:42.563 Analysis report generated in 143ms, dir size=855.7 kB [INFO] 04:58:42.800 Analysis report compressed in 236ms, zip size=326.6 kB [INFO] 04:58:42.836 Analysis report uploaded in 36ms [INFO] 04:58:42.839 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] 04:58:42.839 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 04:58:42.839 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=e201acae-81d4-4a74-b55a-c77884e96e16 [INFO] 04:58:42.872 Analysis total time: 10.178 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.733 s [INFO] Finished at: 2026-03-23T04:58:42Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 27cd82305c4720c471d92e0acb0551186546e0c5a3c815a625c534816555a6da $ docker rm -f --volumes 27cd82305c4720c471d92e0acb0551186546e0c5a3c815a625c534816555a6da [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