Started by GitHub push by N0dadux Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back [Pipeline] Start of Pipeline [Pipeline] node Running on Slave3 in /home/cecaduser/workspace/MP_202610_G81_E2_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_E2_Back > git init /home/cecaduser/workspace/MP_202610_G81_E2_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_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_E2_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 15626b2ca8414065d2d6c8645eaf0f3ddece0db7 (refs/remotes/origin/main) Commit message: "Add: cambios menores al back para facilitar el manejo de las resenas desde el front" > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_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 15626b2ca8414065d2d6c8645eaf0f3ddece0db7 # timeout=10 > git rev-list --no-walk 7d4cb371291f2191567eb6a4de7f7f37dc2152c9 # 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: Add: cambios menores al back para facilitar el manejo de las resenas desde el front [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 15626b2ca8414065d2d6c8645eaf0f3ddece0db7 (refs/remotes/origin/main) Commit message: "Add: cambios menores al back para facilitar el manejo de las resenas desde el front" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202610_G81_E2_Back/.git # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_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_E2_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 15626b2ca8414065d2d6c8645eaf0f3ddece0db7 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main 15626b2ca8414065d2d6c8645eaf0f3ddece0db7 # timeout=10 + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave3 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_E2_Back -v /home/cecaduser/workspace/MP_202610_G81_E2_Back:/home/cecaduser/workspace/MP_202610_G81_E2_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E2_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 bc9a9efbe365f850238c3f39dd53aef70e366523a1cf9935763bb57f9dc55a29 -eo pid,comm ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [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_E2_Back >------------- [INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.4.1:clean (default-clean) @ MP_202610_G81_E2_Back --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E2_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_E2_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E2_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_E2_Back --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 143 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_E2_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E2_Back/src/test/resources [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E2_Back --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 42 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.5.5:test (default-test) @ MP_202610_G81_E2_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.entities.AdoptionRequestEntityTest 17:17:58.966 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest]: AdoptionRequestEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 17:17:59.219 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:00.023Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:00.025Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:00.641Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:00.854Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 197 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:00.960Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:01.118Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4419810c-0280-4527-b797-5de49284004c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:01.784Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:01.877Z INFO 94 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.44.Final 2026-05-09T17:18:01.938Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:02.506Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:02.598Z WARN 94 --- [ 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-05-09T17:18:02.637Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6e4e7a62'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:05.538Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:05.688Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:06.322Z INFO 94 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-05-09T17:18:07.789Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 8.432 seconds (process running for 10.465) Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended WARNING: A Java agent has been loaded dynamically (/root/.m2/repository/net/bytebuddy/byte-buddy-agent/1.17.8/byte-buddy-agent-1.17.8.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.857 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-05-09T17:18:08.512Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdopterEntityTest]: AdopterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.522Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdopterEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.072 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-05-09T17:18:08.586Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.PetEntityTest]: PetEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.593Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.PetEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-05-09T17:18:08.644Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MessageEntityTest]: MessageEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.651Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MessageEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.060 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-05-09T17:18:08.706Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest]: ShelterMediaEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.714Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-05-09T17:18:08.744Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.NotificationEntityTest]: NotificationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.752Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.NotificationEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-05-09T17:18:08.791Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest]: VeterinarianEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.801Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: select s1_0.vet_id,s1_1.id,s1_1.description,s1_1.name from vet_speciality_relation s1_0 join vet_speciality_entity s1_1 on s1_1.id=s1_0.speciality_id where s1_0.vet_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-05-09T17:18:08.964Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest]: MedicalHistoryEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:08.971Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: select me1_0.medical_history_id,me1_0.id,me1_0.description,me1_0.event_date,me1_0.event_type,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from medical_event_entity me1_0 left join veterinarian_entity v1_0 on v1_0.id=me1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id where me1_0.medical_history_id=? Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: select ve1_0.medical_history_id,ve1_0.id,ve1_0.admin_date,ve1_0.next_due_date,ve1_0.vaccine_name from vaccine_entry_entity ve1_0 where ve1_0.medical_history_id=? [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest 2026-05-09T17:18:09.043Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterEntityTest]: ShelterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:09.049Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: select mi1_0.shelter_id,mi1_0.id,mi1_0.description,mi1_0.media_type,mi1_0.media_url from shelter_media_entity mi1_0 where mi1_0.shelter_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-05-09T17:18:09.109Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ReviewEntityTest]: ReviewEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:09.116Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ReviewEntityTest Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-05-09T17:18:09.152Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest]: TrialCohabitationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:09.159Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-05-09T17:18:09.214Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest]: AdoptionEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:09.220Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-05-09T17:18:09.248Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.MainApplicationTest]: MainApplicationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:09.260Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.MainApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:09.307Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Starting MainApplicationTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:09.307Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:09.309Z DEBUG 94 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@4b9bb79 2026-05-09T17:18:09.994Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:10.027Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:10.393Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:10.395Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:10.403Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:10.406Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-05-09T17:18:10.421Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-05-09T17:18:10.423Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-05-09T17:18:10.432Z WARN 94 --- [ 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-05-09T17:18:10.437Z INFO 94 --- [ 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-05-09T17:18:10.676Z INFO 94 --- [ 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-05-09T17:18:10.733Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:11.553Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-09T17:18:11.703Z DEBUG 94 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-09T17:18:11.738Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-09T17:18:11.810Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-09T17:18:12.155Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-09T17:18:12.177Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-09T17:18:12.261Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 2.987 seconds (process running for 14.936) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:12.489Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:12.490Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:12.775Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:12.806Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:13.052Z INFO 94 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-05-09T17:18:13.090Z INFO 94 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-05-09T17:18:13.090Z INFO 94 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-05-09T17:18:13.149Z INFO 94 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-05-09T17:18:13.150Z INFO 94 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 658 ms 2026-05-09T17:18:13.238Z DEBUG 94 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-09T17:18:13.279Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:13.281Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:13.289Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:13.290Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-05-09T17:18:13.292Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-05-09T17:18:13.292Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-05-09T17:18:13.292Z WARN 94 --- [ 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-05-09T17:18:13.293Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-2)'] 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-05-09T17:18:13.494Z INFO 94 --- [ 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-05-09T17:18:13.554Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:13.802Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-09T17:18:13.837Z DEBUG 94 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-09T17:18:13.842Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-09T17:18:13.849Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-09T17:18:13.904Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-09T17:18:13.912Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-09T17:18:13.949Z INFO 94 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 45045 (http) with context path '/api' 2026-05-09T17:18:13.956Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.49 seconds (process running for 16.631) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.723 s -- in co.edu.udistrital.mdp.pets.MainApplicationTest [INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-09T17:18:13.983Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.UserControllerTest]: UserControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:13.997Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-09T17:18:14.007Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:14.143Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:14.151Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios 2026-05-09T17:18:14.166Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:14.170Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:14.172Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 2 2026-05-09T17:18:14.173Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 2 2026-05-09T17:18:14.180Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:14.183Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:14.191Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:14.194Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:14.196Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 4 2026-05-09T17:18:14.201Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 4 2026-05-09T17:18:14.202Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-09T17:18:14.210Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:14.213Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:14.215Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 5 2026-05-09T17:18:14.219Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de actualizar el usuario con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 s -- in co.edu.udistrital.mdp.pets.controllers.UserControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.PetControllerTest 2026-05-09T17:18:14.235Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.PetControllerTest]: PetControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:14.237Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.PetControllerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:14.256Z INFO 94 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Starting PetControllerTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:14.257Z INFO 94 --- [ main] c.e.u.m.p.controllers.PetControllerTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:14.258Z DEBUG 94 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@401fbe1 2026-05-09T17:18:14.501Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:14.529Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:14.623Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:14.625Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:14.633Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:14.633Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2026-05-09T17:18:14.635Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA 2026-05-09T17:18:14.635Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2026-05-09T17:18:14.635Z WARN 94 --- [ 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-05-09T17:18:14.636Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-3)'] 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-05-09T17:18:14.809Z INFO 94 --- [ 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-05-09T17:18:14.860Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:15.124Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-09T17:18:15.153Z DEBUG 94 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-09T17:18:15.158Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-09T17:18:15.164Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-09T17:18:15.237Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-09T17:18:15.257Z DEBUG 94 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-09T17:18:15.258Z INFO 94 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-09T17:18:15.258Z INFO 94 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-09T17:18:15.261Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-09T17:18:15.266Z INFO 94 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 8 ms 2026-05-09T17:18:15.290Z INFO 94 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Started PetControllerTest in 1.05 seconds (process running for 17.965) 2026-05-09T17:18:15.415Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-09T17:18:15.495Z DEBUG 94 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=La (truncated)...] 2026-05-09T17:18:15.550Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-05-09T17:18:15.572Z DEBUG 94 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2026-05-09T17:18:15.573Z DEBUG 94 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Writing [PetDTO(id=1, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=Large (truncated)...] 2026-05-09T17:18:15.656Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-09T17:18:15.657Z DEBUG 94 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=null, species=null, breed=null, bornDate=null, sex=null, size=null, temperament (truncated)...] 2026-05-09T17:18:15.666Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-09T17:18:15.711Z DEBUG 94 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-09T17:18:15.715Z DEBUG 94 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...] 2026-05-09T17:18:15.717Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 8 errors: [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] [Field error in object 'petDTO' on field 'name': rejected value [null]; codes [NotBlank.petDTO.name,NotBlank.name,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.name,name]; arguments []; default message [name]]; default message [Name is mandatory]] [Field error in object 'petDTO' on field 'shelterId': rejected value [null]; codes [NotNull.petDTO.shelterId,NotNull.shelterId,NotNull.java.lang.Long,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.shelterId,shelterId]; arguments []; default message [shelterId]]; default message [Shelter ID is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'species': rejected value [null]; codes [NotBlank.petDTO.species,NotBlank.species,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.species,species]; arguments []; default message [species]]; default message [Species is mandatory]] ] 2026-05-09T17:18:15.727Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-09T17:18:15.728Z DEBUG 94 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=null, bornDate=null, sex=null, size=null, temperam (truncated)...] 2026-05-09T17:18:15.730Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-09T17:18:15.730Z DEBUG 94 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-09T17:18:15.730Z DEBUG 94 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...] 2026-05-09T17:18:15.731Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 5 errors: [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] ] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.501 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-09T17:18:15.738Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.MessageControllerTest]: MessageControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:15.739Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-09T17:18:15.746Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.750Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.753Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.756Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.757Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:18:15.758Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:18:15.760Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes 2026-05-09T17:18:15.771Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.773Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.775Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.777Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.779Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:18:15.779Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:18:15.781Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 2 2026-05-09T17:18:15.781Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 2 2026-05-09T17:18:15.788Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.790Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.792Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.794Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.795Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:18:15.796Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:18:15.803Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.806Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.807Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.810Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.811Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:18:15.811Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:18:15.813Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 2026-05-09T17:18:15.813Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 4 2026-05-09T17:18:15.814Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 4 2026-05-09T17:18:15.820Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.823Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.824Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.826Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.827Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:18:15.828Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:18:15.829Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 5 2026-05-09T17:18:15.830Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de actualizar el mensaje con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-09T17:18:15.836Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest]: NotificationControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:15.837Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-09T17:18:15.842Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.845Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.847Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:15.849Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:18:15.850Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones 2026-05-09T17:18:15.860Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.863Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.864Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:15.865Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:18:15.866Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 2 2026-05-09T17:18:15.867Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 2 2026-05-09T17:18:15.873Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.875Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.877Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:15.877Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:18:15.885Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.888Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.889Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:15.890Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:18:15.892Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 4 2026-05-09T17:18:15.893Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 4 2026-05-09T17:18:15.894Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 4 2026-05-09T17:18:15.901Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.903Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.905Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:15.906Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:18:15.907Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 5 2026-05-09T17:18:15.907Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-09T17:18:15.913Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest]: AdopterControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:15.914Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-09T17:18:15.919Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.922Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.929Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.931Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.933Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes 2026-05-09T17:18:15.942Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.944Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.945Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 18 2026-05-09T17:18:15.946Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 18 2026-05-09T17:18:15.951Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.953Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.955Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 19 2026-05-09T17:18:15.955Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 19 2026-05-09T17:18:15.956Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 19 2026-05-09T17:18:15.961Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:15.964Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:18:15.965Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 2026-05-09T17:18:15.968Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 s -- in co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-05-09T17:18:15.985Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:16.000Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:16.017Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Starting AdopterServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:16.017Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:16.083Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:16.110Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:16.123Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:16.133Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9d7b303b-f26c-4692-87c6-fe083d2feb37;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:16.151Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:16.152Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:16.160Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:16.161Z WARN 94 --- [ 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-05-09T17:18:16.161Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6e392140'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:16.326Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:16.367Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:16.508Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.505 seconds (process running for 19.184) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.587Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.651Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:16.695Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 7 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.736Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-05-09T17:18:16.739Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.781Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.848Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.887Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-05-09T17:18:16.892Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.937Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:16.974Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.005Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.045Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:17.052Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:18:17.059Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.090Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.122Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-05-09T17:18:17.151Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-05-09T17:18:17.154Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.199Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-05-09T17:18:17.200Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 44 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.252Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 45 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.300Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:17.346Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-05-09T17:18:17.346Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.366 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-05-09T17:18:17.352Z INFO 94 --- [ 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-05-09T17:18:17.359Z INFO 94 --- [ 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.12) 2026-05-09T17:18:17.382Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:17.382Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:17.466Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:17.500Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 33 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:17.516Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:17.527Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:07218c41-c7c0-4ec3-8440-d29814388063;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:17.547Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:17.548Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:17.558Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:17.559Z WARN 94 --- [ 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-05-09T17:18:17.560Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1bee2d31'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:17.740Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:17.778Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:17.944Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.582 seconds (process running for 20.619) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url 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 shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_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 left join veterinarian_entity v2_0 on v2_0.id=mee1_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 mee1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mee1_0.medical_history_id,mee1_0.veterinarian_id from medical_event_entity mee1_0 where mee1_0.event_date between ? and ? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.787 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-05-09T17:18:18.140Z INFO 94 --- [ 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-05-09T17:18:18.146Z INFO 94 --- [ 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.12) 2026-05-09T17:18:18.165Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:18.165Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:18.243Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:18.272Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:18.287Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:18.298Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:99693126-e7bc-4c92-bd74-5a8bdb0d8be8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:18.316Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:18.318Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:18.325Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:18.327Z WARN 94 --- [ 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-05-09T17:18:18.327Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3f43c65e'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:18.502Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:18.537Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:18.700Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.552 seconds (process running for 21.375) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.741Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.778Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.809Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-05-09T17:18:18.810Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 11 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.835Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.860Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.902Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.929Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.954Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:18.980Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-05-09T17:18:18.980Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 27 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:19.004Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,me1_0.receiver_id,me1_0.sender_id,me1_0.sent_at from message_entity me1_0 where me1_0.active Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:19.030Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:19.053Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:18:19.053Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:19.077Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-05-09T17:18:19.078Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de actualizar el mensaje con id = 40 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:19.102Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:19.125Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.989 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-05-09T17:18:19.130Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.SpecialityServiceTest]: SpecialityServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:19.135Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.SpecialityServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:19.150Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Starting SpecialityServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:19.150Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:19.212Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:19.236Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:19.248Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:19.257Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b8a00803-272f-4f45-abd3-4c2db9a0dfec;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:19.273Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:19.274Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:19.281Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:19.282Z WARN 94 --- [ 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-05-09T17:18:19.283Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5c7240e8'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:19.432Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:19.462Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:19.589Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.451 seconds (process running for 22.264) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:19.652Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:19.745Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:19.799Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:19.853Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: null Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:19.907Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 13 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:19.994Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.051Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Especialid Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name) like upper(?) escape '\' Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.106Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 23 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.156Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 26 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.209Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 30 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.268Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 32 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.317Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 35 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.368Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.430Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.480Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:20.549Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.423 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-05-09T17:18:20.554Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest]: ShelterMediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:20.559Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:20.574Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:20.574Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:20.636Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:20.661Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:20.673Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:20.681Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a9724a90-839b-47a7-a784-9e598225dda0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:20.697Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:20.699Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:20.705Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:20.706Z WARN 94 --- [ 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-05-09T17:18:20.707Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3cb8918a'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:20.843Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:20.872Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:21.000Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.439 seconds (process running for 23.676) Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.014Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 1 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.055Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 4 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.067Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.077Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.088Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 14 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.102Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.113Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.123Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 23 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.135Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.144Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.155Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 32 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.165Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter medias by shelter id: 34 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,sme1_0.shelter_id from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.179Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.189Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:18:21.199Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 44 [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.649 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-05-09T17:18:21.204Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:21.209Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:21.223Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:21.223Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:21.283Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:21.306Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:21.318Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:21.327Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2eabbabf-23d0-42bd-a97f-5c7481d1ff4e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:21.342Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:21.344Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:21.350Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:21.351Z WARN 94 --- [ 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-05-09T17:18:21.352Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7ae5e8e8'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:21.485Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:21.512Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:21.636Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.426 seconds (process running for 24.312) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.655Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 0 Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.673Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.689Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.706Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-05-09T17:18:21.722Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.738Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.755Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.769Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.785Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.798Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.813Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.830Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search all adoption requests Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.comments,are1_0.pet_id,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:21.850Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 38 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.650 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-05-09T17:18:21.855Z INFO 94 --- [ 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-05-09T17:18:21.860Z INFO 94 --- [ 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.12) 2026-05-09T17:18:21.874Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:21.874Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:21.963Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:21.985Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:22.002Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:22.011Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ace01c02-e4e1-4ec3-8a18-59d9eeb96c9d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:22.025Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:22.027Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:22.034Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:22.035Z WARN 94 --- [ 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-05-09T17:18:22.035Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@10fc6cbf'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:22.168Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:22.194Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:22.319Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.457 seconds (process running for 24.995) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.342Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 1 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.363Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-05-09T17:18:22.364Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.384Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,ne1_0.user_id from notification_entity ne1_0 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.406Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,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_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 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 message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.428Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.447Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-05-09T17:18:22.448Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 16 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.467Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.488Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:22.488Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.510Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,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_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 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 message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.532Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.552Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.572Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:18:22.572Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.593Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,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_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 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 message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.614Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 45 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.662Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:22.682Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-05-09T17:18:22.682Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 52 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.831 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-05-09T17:18:22.687Z INFO 94 --- [ 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-05-09T17:18:22.691Z INFO 94 --- [ 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.12) 2026-05-09T17:18:22.705Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:22.705Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:22.765Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:22.788Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:22.799Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:22.808Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:902f8d2c-1eb9-4d92-ad6c-df6899abf278;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:22.824Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:22.825Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:22.832Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:22.833Z WARN 94 --- [ 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-05-09T17:18:22.833Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5f5ecc06'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:22.960Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:22.985Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:23.109Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.416 seconds (process running for 25.785) Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.134Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-05-09T17:18:23.134Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de creación de la reseña Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.157Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url 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 adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.183Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.205Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar todas las reseñas Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.adoption_process_id,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,re1_0.shelter_id from review_entity re1_0 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.230Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-05-09T17:18:23.231Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de actualizar la reseña con id = 14 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.253Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-05-09T17:18:23.254Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de borrar la reseña con id = 18 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.277Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 20 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.300Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url 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 adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.324Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-05-09T17:18:23.324Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de consultar la reseña con id = 26 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.347Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 29 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.370Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url 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 adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=? [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.688 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-05-09T17:18:23.377Z INFO 94 --- [ 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-05-09T17:18:23.381Z INFO 94 --- [ 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.12) 2026-05-09T17:18:23.394Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Starting AdoptionServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:23.394Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:23.453Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:23.477Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:23.506Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:23.515Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c1543cec-ad42-473b-a305-6b3c23b7629a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:23.529Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:23.530Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:23.539Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:23.540Z WARN 94 --- [ 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-05-09T17:18:23.540Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@46f7744a'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:23.669Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:23.693Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:23.817Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.434 seconds (process running for 26.493) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.827Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 0 Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date 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 veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=? Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.837Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-05-09T17:18:23.838Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de actualizar la adopción con id = 4 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.845Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-05-09T17:18:23.845Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de creación de la adopción Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.852Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 0 Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date 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 veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=? Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.861Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar todas las adopciones Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.contract_signed,ae1_0.official_date,ae1_0.pet_id,ae1_0.shelter_id,ae1_0.status,ae1_0.trial_cohabitation_id from adoption_entity ae1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-05-09T17:18:23.871Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 17 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.877Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-05-09T17:18:23.878Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de consultar la adopción con id = 20 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.883Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-05-09T17:18:23.885Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de borrar la adopción con id = 24 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:23.893Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 26 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.899Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:18:23.905Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 0 Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date 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 veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=? [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.534 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-05-09T17:18:23.912Z INFO 94 --- [ 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-05-09T17:18:23.916Z INFO 94 --- [ 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.12) 2026-05-09T17:18:23.930Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Starting ShelterServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:23.930Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:23.988Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:24.010Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:24.021Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:24.030Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:bbfb123c-6217-4c27-9d91-5273f98e5fb1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:24.044Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:24.045Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:24.052Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:24.053Z WARN 94 --- [ 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-05-09T17:18:24.053Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@73564cdc'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:24.177Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:24.200Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:24.320Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.402 seconds (process running for 26.996) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.335Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 1 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.350Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-1647014964067777 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.362Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.374Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.386Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 14 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.402Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.418Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.432Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.442Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Unknown Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.455Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 29 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.467Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching all shelters Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.478Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 35 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.492Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.501Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 41 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.514Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.527Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.538Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 50 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.549Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.558Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.573Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:24.584Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 63 [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.676 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-05-09T17:18:24.589Z INFO 94 --- [ 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-05-09T17:18:24.594Z INFO 94 --- [ 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.12) 2026-05-09T17:18:24.607Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Starting PetServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:24.607Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:24.665Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:24.687Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:24.698Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:24.706Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e4163a57-a9da-4f4e-a87d-8ca81c083c7c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:24.721Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:24.722Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:24.728Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:24.729Z WARN 94 --- [ 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-05-09T17:18:24.730Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6ee47953'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:24.881Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:24.903Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:25.020Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.423 seconds (process running for 27.695) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 where (? is null or pe1_0.breed=?) and (? is null or pe1_0.size=?) and (? is null or pe1_0.temperament=?) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:25.115Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:25.163Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:25.208Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.626 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-05-09T17:18:25.217Z INFO 94 --- [ 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-05-09T17:18:25.221Z INFO 94 --- [ 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.12) 2026-05-09T17:18:25.234Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Starting VeterinarianServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:25.234Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:25.292Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:25.314Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:25.325Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:25.334Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b3988c5c-ee12-4445-8f03-99b89c066243;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:25.348Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:25.350Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:25.356Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:25.357Z WARN 94 --- [ 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-05-09T17:18:25.357Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@edb7f4c'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:25.478Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:25.501Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:25.616Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.393 seconds (process running for 28.291) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:25.707Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 1 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:25.763Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:25.818Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 7 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:25.872Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 10 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:25.959Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.026Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.087Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by shelter: 19 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where s1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:18:26.159Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 22 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.285Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.385Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by speciality: 28 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join vet_speciality_relation s1_0 on ve1_0.id=s1_0.vet_id where s1_0.speciality_id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.450Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.502Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching all veterinarians Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.557Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 37 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.625Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.692Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.745Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:18:26.797Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.585 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-05-09T17:18:26.803Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest]: VaccineEntryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:26.809Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:26.824Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:26.824Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:26.883Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:26.905Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:26.916Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:26.925Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:fb67bf64-8926-4d84-b8f1-67a52e67cbc0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:26.939Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:26.940Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:26.948Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:26.949Z WARN 94 --- [ 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-05-09T17:18:26.949Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@59dcdd70'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:27.071Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:27.093Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:27.228Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.417 seconds (process running for 29.904) Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_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 vee1_0.id=? Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id where mh1_0.id=? Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 where vee1_0.next_due_date<? [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.506 s -- in co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-05-09T17:18:27.309Z INFO 94 --- [ 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-05-09T17:18:27.313Z INFO 94 --- [ 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.12) 2026-05-09T17:18:27.326Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Starting UserServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:27.326Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:27.383Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:27.404Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:27.415Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:27.423Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:07f423dd-38c4-4fee-9ee9-551daf9254b5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:27.437Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:27.439Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:27.445Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:27.446Z WARN 94 --- [ 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-05-09T17:18:27.446Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@fc0cdde'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:27.558Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:27.579Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:27.691Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.376 seconds (process running for 30.367) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.713Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.731Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-09T17:18:27.731Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.746Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:27.766Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 10 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.785Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 13 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-05-09T17:18:27.788Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de actualizar el usuario con id = 13 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.807Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:18:27.824Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 19 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.840Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.857Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.877Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.894Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') 2026-05-09T17:18:27.900Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.920Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-05-09T17:18:27.923Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:27.981Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 41 2026-05-09T17:18:27.983Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 41 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:28.013Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:28.036Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 45 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:28.065Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:18:28.086Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 51 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:18:28.112Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.810 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-05-09T17:18:28.121Z INFO 94 --- [ 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-05-09T17:18:28.132Z INFO 94 --- [ 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.12) 2026-05-09T17:18:28.147Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:28.148Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:28.209Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:28.232Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:28.244Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:28.253Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e142f61e-b045-4dbb-8f64-b4f3c759ed42;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:28.268Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:28.270Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:28.277Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:28.278Z WARN 94 --- [ 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-05-09T17:18:28.279Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@375e722b'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:28.437Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:28.459Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:28.582Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.447 seconds (process running for 31.257) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.603Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.618Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 0 Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.633Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.647Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 10 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.660Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search all trial cohabitations Hibernate: select tce1_0.id,tce1_1.adoption_request_id,tce1_1.creation_date,tce1_1.pet_id,tce1_1.id,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.675Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.688Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.703Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.716Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:28.729Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.612 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest 2026-05-09T17:18:28.734Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest]: ReturnCaseServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:28.738Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:28.752Z INFO 94 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Starting ReturnCaseServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:28.752Z INFO 94 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:28.808Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:28.828Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:28.838Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:28.846Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:72cd7a04-9874-4d70-a9b3-b1d026dd556f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:28.860Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:28.861Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:28.868Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:28.869Z WARN 94 --- [ 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-05-09T17:18:28.870Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3cd984c4'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:28.980Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:29.000Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:29.106Z INFO 94 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Started ReturnCaseServiceTest in 0.366 seconds (process running for 31.782) Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.114Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 1 2026-05-09T17:18:29.114Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de consultar el caso de devolución con id = 1 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.120Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.127Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 8 2026-05-09T17:18:29.128Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de borrar el caso de devolución con id = 8 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.134Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar todos los casos de devolución Hibernate: select rce1_0.id,rce1_0.adoption_process_id,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.141Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 13 2026-05-09T17:18:29.141Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de actualizar el caso de devolución con id = 13 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-05-09T17:18:29.180Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 16 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.186Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.192Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.199Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.206Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución 2026-05-09T17:18:29.206Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de creación del caso de devolución Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.476 s -- in co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest 2026-05-09T17:18:29.210Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest]: AdoptionProcessServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:29.214Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:29.226Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Starting AdoptionProcessServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:29.226Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:29.280Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:29.300Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:29.311Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:29.319Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ee2bebf3-d491-4f3c-ba25-3682dd738e69;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:29.332Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:29.333Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:29.340Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:29.341Z WARN 94 --- [ 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-05-09T17:18:29.341Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2106db3c'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:29.449Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:29.468Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:29.573Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Started AdoptionProcessServiceTest in 0.357 seconds (process running for 32.248) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:18:29.589Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.604Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.617Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.631Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.645Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.659Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search all adoption processes Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ape1_0.adoption_request_id,ape1_0.creation_date,ape1_0.pet_id,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.674Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.688Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 23 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.701Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.714Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 0 Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.729Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:18:29.744Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.538 s -- in co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-05-09T17:18:29.750Z INFO 94 --- [ 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-05-09T17:18:29.754Z INFO 94 --- [ 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.12) 2026-05-09T17:18:29.766Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:29.766Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:29.820Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:29.839Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:29.849Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:29.857Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8e4174a9-ab05-4df8-815a-a81e8cc06393;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:29.870Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:29.872Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:29.878Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:29.879Z WARN 94 --- [ 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-05-09T17:18:29.880Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@510548a4'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:29.986Z INFO 94 --- [ 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:30.006Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:30.111Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.356 seconds (process running for 32.786) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_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=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_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=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.591 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 307, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ MP_202610_G81_E2_Back --- [INFO] Building jar: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot:3.5.12:repackage (repackage) @ MP_202610_G81_E2_Back --- [INFO] Replacing main artifact /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_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_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar.original [INFO] [INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202610_G81_E2_Back --- [INFO] Loading execution data file /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/jacoco.exec [INFO] Analyzed bundle 'MP_202610_G81_E2_Back' with 100 classes [INFO] [INFO] --- install:3.1.4:install (default-install) @ MP_202610_G81_E2_Back --- [INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E2_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E2_Back/0.0.1-SNAPSHOT/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.pom [INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E2_Back/0.0.1-SNAPSHOT/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 46.765 s [INFO] Finished at: 2026-05-09T17:18:35Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 bc9a9efbe365f850238c3f39dd53aef70e366523a1cf9935763bb57f9dc55a29 $ docker rm -f --volumes bc9a9efbe365f850238c3f39dd53aef70e366523a1cf9935763bb57f9dc55a29 [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 Slave3 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_E2_Back -v /home/cecaduser/workspace/MP_202610_G81_E2_Back:/home/cecaduser/workspace/MP_202610_G81_E2_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E2_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 c85444a5bfd40f7959085809dc0a133d8918b167db6c70367a40f49fd4ec7de6 -eo pid,comm ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] sh + mvn test [INFO] Scanning for projects... [INFO] [INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E2_Back >------------- [INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E2_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_E2_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E2_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_E2_Back --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E2_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E2_Back/src/test/resources [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E2_Back --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.5.5:test (default-test) @ MP_202610_G81_E2_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.entities.AdoptionRequestEntityTest 17:18:43.336 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest]: AdoptionRequestEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 17:18:43.595 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:44.404Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:44.406Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:45.052Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:45.221Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 151 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:45.335Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:18:45.472Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5f2ca696-906b-476f-adbc-e7fcab7dfd63;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:18:46.136Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:46.239Z INFO 71 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.44.Final 2026-05-09T17:18:46.307Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:46.819Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:46.918Z 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-05-09T17:18:46.958Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@29d534ce'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:18:49.448Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:18:49.620Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:50.263Z INFO 71 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-05-09T17:18:51.902Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 8.17 seconds (process running for 10.189) Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3 OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended WARNING: A Java agent has been loaded dynamically (/root/.m2/repository/net/bytebuddy/byte-buddy-agent/1.17.8/byte-buddy-agent-1.17.8.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.586 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-05-09T17:18:52.625Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdopterEntityTest]: AdopterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:52.637Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdopterEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-05-09T17:18:52.721Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.PetEntityTest]: PetEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:52.728Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.PetEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.070 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-05-09T17:18:52.794Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MessageEntityTest]: MessageEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:52.805Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MessageEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-05-09T17:18:52.875Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest]: ShelterMediaEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:52.887Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-05-09T17:18:52.917Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.NotificationEntityTest]: NotificationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:52.924Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.NotificationEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-05-09T17:18:52.961Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest]: VeterinarianEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:52.968Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: select s1_0.vet_id,s1_1.id,s1_1.description,s1_1.name from vet_speciality_relation s1_0 join vet_speciality_entity s1_1 on s1_1.id=s1_0.speciality_id where s1_0.vet_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.164 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-05-09T17:18:53.127Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest]: MedicalHistoryEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:53.134Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: select me1_0.medical_history_id,me1_0.id,me1_0.description,me1_0.event_date,me1_0.event_type,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from medical_event_entity me1_0 left join veterinarian_entity v1_0 on v1_0.id=me1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id where me1_0.medical_history_id=? Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: select ve1_0.medical_history_id,ve1_0.id,ve1_0.admin_date,ve1_0.next_due_date,ve1_0.vaccine_name from vaccine_entry_entity ve1_0 where ve1_0.medical_history_id=? [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.083 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest 2026-05-09T17:18:53.211Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterEntityTest]: ShelterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:53.232Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: select mi1_0.shelter_id,mi1_0.id,mi1_0.description,mi1_0.media_type,mi1_0.media_url from shelter_media_entity mi1_0 where mi1_0.shelter_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.080 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-05-09T17:18:53.293Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ReviewEntityTest]: ReviewEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:53.299Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ReviewEntityTest Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-05-09T17:18:53.339Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest]: TrialCohabitationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:53.345Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-05-09T17:18:53.411Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest]: AdoptionEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:53.417Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-05-09T17:18:53.445Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.MainApplicationTest]: MainApplicationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:53.464Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.MainApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:53.513Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Starting MainApplicationTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:53.513Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:53.515Z DEBUG 71 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@68e7231a 2026-05-09T17:18:54.234Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:54.266Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:54.667Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:54.669Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:54.678Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:54.681Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-05-09T17:18:54.698Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-05-09T17:18:54.701Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-05-09T17:18:54.712Z 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-05-09T17:18:54.718Z INFO 71 --- [ 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-05-09T17:18:54.974Z 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) 2026-05-09T17:18:55.035Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:55.867Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-09T17:18:56.014Z DEBUG 71 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-09T17:18:56.046Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-09T17:18:56.120Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-09T17:18:56.438Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-09T17:18:56.456Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-09T17:18:56.542Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 3.062 seconds (process running for 14.829) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:56.670Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:56.671Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:56.920Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:56.951Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:57.231Z INFO 71 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-05-09T17:18:57.255Z INFO 71 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-05-09T17:18:57.256Z INFO 71 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-05-09T17:18:57.346Z INFO 71 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-05-09T17:18:57.347Z INFO 71 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 674 ms 2026-05-09T17:18:57.441Z DEBUG 71 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-09T17:18:57.479Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:57.481Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:57.490Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:57.490Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-05-09T17:18:57.492Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-05-09T17:18:57.492Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-05-09T17:18:57.493Z 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-05-09T17:18:57.493Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-2)'] 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-05-09T17:18:57.695Z 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) 2026-05-09T17:18:57.759Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:58.024Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-09T17:18:58.057Z DEBUG 71 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-09T17:18:58.062Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-09T17:18:58.068Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-09T17:18:58.120Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-09T17:18:58.127Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-09T17:18:58.230Z INFO 71 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 34717 (http) with context path '/api' 2026-05-09T17:18:58.238Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.588 seconds (process running for 16.526) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.807 s -- in co.edu.udistrital.mdp.pets.MainApplicationTest [INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-09T17:18:58.275Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.UserControllerTest]: UserControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:58.288Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-09T17:18:58.298Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:58.414Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:58.422Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios 2026-05-09T17:18:58.438Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:58.442Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:58.444Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 2 2026-05-09T17:18:58.445Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 2 2026-05-09T17:18:58.452Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:58.456Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:58.464Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:58.468Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:58.470Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 4 2026-05-09T17:18:58.475Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 4 2026-05-09T17:18:58.476Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-09T17:18:58.484Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-09T17:18:58.487Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-09T17:18:58.489Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 5 2026-05-09T17:18:58.492Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de actualizar el usuario con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 s -- in co.edu.udistrital.mdp.pets.controllers.UserControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.PetControllerTest 2026-05-09T17:18:58.510Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.PetControllerTest]: PetControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:18:58.513Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.PetControllerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:18:58.532Z INFO 71 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Starting PetControllerTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:18:58.533Z INFO 71 --- [ main] c.e.u.m.p.controllers.PetControllerTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:18:58.534Z DEBUG 71 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@5ee9a86c 2026-05-09T17:18:58.772Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:18:58.800Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 21 JPA repository interfaces. 2026-05-09T17:18:58.903Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:18:58.904Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:18:58.913Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:18:58.914Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2026-05-09T17:18:58.916Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA 2026-05-09T17:18:58.916Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2026-05-09T17:18:58.916Z 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-05-09T17:18:58.917Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-3)'] 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-05-09T17:18:59.116Z 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) 2026-05-09T17:18:59.173Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:18:59.418Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-09T17:18:59.448Z DEBUG 71 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-09T17:18:59.454Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-09T17:18:59.460Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-09T17:18:59.536Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-09T17:18:59.556Z DEBUG 71 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-09T17:18:59.557Z INFO 71 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-09T17:18:59.557Z INFO 71 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-09T17:18:59.560Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-09T17:18:59.566Z INFO 71 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 9 ms 2026-05-09T17:18:59.599Z INFO 71 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Started PetControllerTest in 1.083 seconds (process running for 17.887) 2026-05-09T17:18:59.723Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-09T17:18:59.805Z DEBUG 71 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=La (truncated)...] 2026-05-09T17:18:59.860Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-05-09T17:18:59.882Z DEBUG 71 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2026-05-09T17:18:59.883Z DEBUG 71 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Writing [PetDTO(id=1, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=Large (truncated)...] 2026-05-09T17:18:59.980Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-09T17:18:59.981Z DEBUG 71 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=null, species=null, breed=null, bornDate=null, sex=null, size=null, temperament (truncated)...] 2026-05-09T17:18:59.991Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-09T17:19:00.014Z DEBUG 71 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-09T17:19:00.018Z DEBUG 71 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...] 2026-05-09T17:19:00.020Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 8 errors: [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] [Field error in object 'petDTO' on field 'species': rejected value [null]; codes [NotBlank.petDTO.species,NotBlank.species,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.species,species]; arguments []; default message [species]]; default message [Species is mandatory]] [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'shelterId': rejected value [null]; codes [NotNull.petDTO.shelterId,NotNull.shelterId,NotNull.java.lang.Long,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.shelterId,shelterId]; arguments []; default message [shelterId]]; default message [Shelter ID is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'name': rejected value [null]; codes [NotBlank.petDTO.name,NotBlank.name,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.name,name]; arguments []; default message [name]]; default message [Name is mandatory]] ] 2026-05-09T17:19:00.031Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-09T17:19:00.032Z DEBUG 71 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=null, bornDate=null, sex=null, size=null, temperam (truncated)...] 2026-05-09T17:19:00.033Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-09T17:19:00.034Z DEBUG 71 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-09T17:19:00.034Z DEBUG 71 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...] 2026-05-09T17:19:00.035Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 5 errors: [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] ] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.530 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-09T17:19:00.042Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.MessageControllerTest]: MessageControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:00.044Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-09T17:19:00.049Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.053Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.056Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.059Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.060Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:19:00.062Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:19:00.063Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes 2026-05-09T17:19:00.074Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.077Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.079Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.081Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.082Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:19:00.083Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:19:00.085Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 2 2026-05-09T17:19:00.085Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 2 2026-05-09T17:19:00.092Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.094Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.096Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.098Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.099Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:19:00.100Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:19:00.107Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.110Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.111Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.114Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.115Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:19:00.116Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:19:00.117Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 2026-05-09T17:19:00.118Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 4 2026-05-09T17:19:00.118Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 4 2026-05-09T17:19:00.125Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.128Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.129Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.131Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.133Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:19:00.133Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-09T17:19:00.135Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 5 2026-05-09T17:19:00.135Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de actualizar el mensaje con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-09T17:19:00.140Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest]: NotificationControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:00.142Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-09T17:19:00.146Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.149Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.151Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:00.152Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:19:00.154Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones 2026-05-09T17:19:00.163Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.166Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.167Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:00.168Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:19:00.169Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 2 2026-05-09T17:19:00.170Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 2 2026-05-09T17:19:00.176Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.178Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.180Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:00.180Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:19:00.187Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.190Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.192Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:00.192Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:19:00.195Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 4 2026-05-09T17:19:00.195Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 4 2026-05-09T17:19:00.196Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 4 2026-05-09T17:19:00.203Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.205Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.207Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:00.208Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-09T17:19:00.209Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 5 2026-05-09T17:19:00.209Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-09T17:19:00.215Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest]: AdopterControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:00.216Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-09T17:19:00.221Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.223Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.231Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.233Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.235Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes 2026-05-09T17:19:00.244Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.246Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.248Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 18 2026-05-09T17:19:00.249Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 18 2026-05-09T17:19:00.255Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.257Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.259Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 19 2026-05-09T17:19:00.260Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 19 2026-05-09T17:19:00.261Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 19 2026-05-09T17:19:00.267Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:00.270Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-09T17:19:00.272Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 2026-05-09T17:19:00.275Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s -- in co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-05-09T17:19:00.290Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:00.304Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:00.320Z 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_E2_Back) 2026-05-09T17:19:00.321Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:00.384Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:00.409Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:00.423Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:00.433Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:fb48b69c-221a-4184-a0e5-26c694368a7a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:00.450Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:00.451Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:00.459Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:00.460Z 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-05-09T17:19:00.461Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@a67526f'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:00.626Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:00.666Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:00.806Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.498 seconds (process running for 19.093) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:00.882Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:00.943Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:00.980Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 7 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.017Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-05-09T17:19:01.021Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.060Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.097Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.133Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-05-09T17:19:01.136Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.167Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.203Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.258Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.297Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:01.304Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-09T17:19:01.310Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.341Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.371Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-05-09T17:19:01.400Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-05-09T17:19:01.403Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.441Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-05-09T17:19:01.442Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 44 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.479Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 45 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.514Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:01.547Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-05-09T17:19:01.547Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.262 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-05-09T17:19:01.552Z 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-05-09T17:19:01.557Z 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.12) 2026-05-09T17:19:01.574Z 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_E2_Back) 2026-05-09T17:19:01.574Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:01.640Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:01.695Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 54 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:01.715Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:01.726Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2715e1cc-b724-480e-97e2-a79438af2b85;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:01.745Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:01.746Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:01.757Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:01.758Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-09T17:19:01.759Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@128a17a8'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:01.924Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:01.976Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:02.143Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.584 seconds (process running for 20.431) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url 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 shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_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 left join veterinarian_entity v2_0 on v2_0.id=mee1_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 mee1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mee1_0.medical_history_id,mee1_0.veterinarian_id from medical_event_entity mee1_0 where mee1_0.event_date between ? and ? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.768 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-05-09T17:19:02.322Z 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-05-09T17:19:02.327Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:02.343Z 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_E2_Back) 2026-05-09T17:19:02.343Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:02.405Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:02.428Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:02.441Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:02.450Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b9386e54-c9a6-4ea9-a7fe-c4aff84128cc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:02.466Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:02.467Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:02.475Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:02.476Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-09T17:19:02.477Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@265651d6'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:02.628Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:02.661Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:02.808Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.479 seconds (process running for 21.096) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.836Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.860Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.886Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-05-09T17:19:02.886Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 11 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.910Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.933Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.956Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:02.999Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.023Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.048Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-05-09T17:19:03.048Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 27 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.070Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,me1_0.receiver_id,me1_0.sender_id,me1_0.sent_at from message_entity me1_0 where me1_0.active Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.095Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.116Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-09T17:19:03.117Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.139Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-05-09T17:19:03.140Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de actualizar el mensaje con id = 40 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.163Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:03.187Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.868 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-05-09T17:19:03.191Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.SpecialityServiceTest]: SpecialityServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:03.196Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.SpecialityServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:03.215Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Starting SpecialityServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:19:03.215Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:03.283Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:03.308Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:03.330Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:03.342Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b50dea87-7789-4240-b639-b4d20f603461;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:03.363Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:03.364Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:03.373Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:03.374Z 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-05-09T17:19:03.375Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4ec8b9f8'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:03.622Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:03.657Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:03.841Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.643 seconds (process running for 22.129) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:03.940Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.005Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.079Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.134Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: null Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.218Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 13 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.308Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.387Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Especialid Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name) like upper(?) escape '\' Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.455Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 23 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.504Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 26 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.575Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 30 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.623Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 32 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.673Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 35 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.724Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.802Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.887Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:04.954Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.771 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-05-09T17:19:04.967Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest]: ShelterMediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:04.979Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:05.013Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:19:05.014Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:05.078Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:05.099Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:05.110Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:05.119Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:64a0c5c1-b25c-4759-bbbf-af0dc46c3300;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:05.186Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:05.188Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:05.196Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:05.197Z 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-05-09T17:19:05.198Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1669818f'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:05.362Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:05.398Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:05.617Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.633 seconds (process running for 23.904) Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.640Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 1 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.691Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 4 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.706Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.723Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.737Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 14 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.754Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.768Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.781Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 23 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.795Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.808Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.822Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 32 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.835Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter medias by shelter id: 34 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,sme1_0.shelter_id from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.849Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.860Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-05-09T17:19:05.871Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 44 [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.910 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-05-09T17:19:05.876Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:05.882Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:05.901Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:19:05.901Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:05.960Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:05.983Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:05.994Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:06.002Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1175980f-5f1f-498d-a83a-78174c75b689;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:06.017Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:06.019Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:06.026Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:06.027Z 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-05-09T17:19:06.028Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@64e3b72e'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:06.158Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:06.187Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:06.305Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.421 seconds (process running for 24.593) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.324Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 0 Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.342Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.357Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.374Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-05-09T17:19:06.389Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.404Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.420Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.433Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.449Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.463Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.477Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.494Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search all adoption requests Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.comments,are1_0.pet_id,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.515Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 38 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.642 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-05-09T17:19:06.519Z 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-05-09T17:19:06.524Z 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.12) 2026-05-09T17:19:06.536Z 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_E2_Back) 2026-05-09T17:19:06.537Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:06.592Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:06.613Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:06.624Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:06.632Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a0ebc802-adab-4568-a6a5-fa3aaa5c480e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:06.646Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:06.648Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:06.654Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:06.655Z 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-05-09T17:19:06.656Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5fd116f'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:06.801Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:06.825Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:06.942Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.416 seconds (process running for 25.229) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.967Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 1 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:06.987Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-05-09T17:19:06.987Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.007Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,ne1_0.user_id from notification_entity ne1_0 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.028Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,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_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 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 message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.048Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.067Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-05-09T17:19:07.067Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 16 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.086Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.106Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:07.106Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.126Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,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_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 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 message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.145Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.163Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.182Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-09T17:19:07.183Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.202Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,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_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 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 message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.225Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 45 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.269Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:07.288Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-05-09T17:19:07.289Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 52 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.773 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-05-09T17:19:07.293Z 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-05-09T17:19:07.297Z 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.12) 2026-05-09T17:19:07.310Z 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_E2_Back) 2026-05-09T17:19:07.310Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:07.364Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:07.385Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:07.396Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:07.404Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5fc80103-3fb5-49c4-aa04-085794d41715;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:07.417Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:07.419Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:07.425Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:07.429Z 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-05-09T17:19:07.429Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@18437ef6'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:07.546Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:07.571Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:07.682Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.383 seconds (process running for 25.97) Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.705Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-05-09T17:19:07.705Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de creación de la reseña Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.729Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url 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 adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.755Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.776Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar todas las reseñas Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.adoption_process_id,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,re1_0.shelter_id from review_entity re1_0 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.801Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-05-09T17:19:07.801Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de actualizar la reseña con id = 14 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.822Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-05-09T17:19:07.822Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de borrar la reseña con id = 18 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.843Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 20 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.864Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url 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 adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=? Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.886Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-05-09T17:19:07.887Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de consultar la reseña con id = 26 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.925Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 29 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:07.954Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url 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 adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=? [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.666 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-05-09T17:19:07.962Z 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-05-09T17:19:07.967Z 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.12) 2026-05-09T17:19:07.984Z 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_E2_Back) 2026-05-09T17:19:07.984Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:08.046Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:08.069Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:08.080Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:08.090Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:911545f7-3c4f-410a-8e18-904f0ed09007;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:08.104Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:08.106Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:08.115Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:08.116Z 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-05-09T17:19:08.116Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5354485c'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:08.280Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:08.304Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:08.428Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.459 seconds (process running for 26.716) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.441Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 0 Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date 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 veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=? Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.452Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-05-09T17:19:08.453Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de actualizar la adopción con id = 4 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.459Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-05-09T17:19:08.460Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de creación de la adopción Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.466Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 0 Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date 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 veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=? Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.474Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar todas las adopciones Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.contract_signed,ae1_0.official_date,ae1_0.pet_id,ae1_0.shelter_id,ae1_0.status,ae1_0.trial_cohabitation_id from adoption_entity ae1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-05-09T17:19:08.484Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 17 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.489Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-05-09T17:19:08.490Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de consultar la adopción con id = 20 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.495Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-05-09T17:19:08.497Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de borrar la adopción con id = 24 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.507Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 26 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.514Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) 2026-05-09T17:19:08.520Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 0 Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date 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 veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=? [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.563 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-05-09T17:19:08.526Z 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-05-09T17:19:08.530Z 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.12) 2026-05-09T17:19:08.543Z 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_E2_Back) 2026-05-09T17:19:08.543Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:08.598Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:08.619Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:08.629Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:08.637Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b75c57a6-5c64-400b-a14b-26d2b0abfdea;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:08.651Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:08.652Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:08.659Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:08.660Z 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-05-09T17:19:08.660Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2bfec777'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:08.777Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:08.799Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:08.908Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.376 seconds (process running for 27.196) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.922Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 1 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.937Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-1647059551087085 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.949Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.960Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.971Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 14 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:08.987Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.003Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.019Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.029Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Unknown Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.042Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 29 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.054Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching all shelters Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.066Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 35 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.104Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.114Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 41 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.125Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.137Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.147Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 50 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.157Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.167Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.181Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.191Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 63 [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.668 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-05-09T17:19:09.195Z 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-05-09T17:19:09.199Z 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.12) 2026-05-09T17:19:09.212Z 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_E2_Back) 2026-05-09T17:19:09.212Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:09.265Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:09.286Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:09.296Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:09.305Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2b6c3828-31ce-41d2-8bc5-8b05177d05ab;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:09.318Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:09.319Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:09.326Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:09.327Z 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-05-09T17:19:09.327Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@78a38796'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:09.442Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:09.464Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:09.574Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.373 seconds (process running for 27.862) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 where (? is null or pe1_0.breed=?) and (? is null or pe1_0.size=?) and (? is null or pe1_0.temperament=?) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.669Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.718Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:09.765Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.577 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-05-09T17:19:09.773Z 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-05-09T17:19:09.778Z 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.12) 2026-05-09T17:19:09.827Z 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_E2_Back) 2026-05-09T17:19:09.827Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:09.880Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:09.900Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:09.911Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:09.919Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2de99989-54bf-4b4d-a79f-f7d8627f578b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:09.932Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:09.933Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:09.940Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:09.941Z 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-05-09T17:19:09.941Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7cced178'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:10.049Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:10.071Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:10.180Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.399 seconds (process running for 28.467) Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.236Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 1 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.290Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.366Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 7 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:10.433Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 10 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.494Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.563Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.622Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by shelter: 19 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where s1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-05-09T17:19:10.688Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 22 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.774Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.829Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by speciality: 28 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join vet_speciality_relation s1_0 on ve1_0.id=s1_0.vet_id where s1_0.speciality_id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.892Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:10.945Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching all veterinarians Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:11.006Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 37 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:11.060Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:11.126Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:11.206Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-05-09T17:19:11.289Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.520 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-05-09T17:19:11.295Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest]: VaccineEntryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:11.300Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:11.316Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:19:11.316Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:11.383Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:11.409Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:11.422Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:11.432Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d944d6e6-5036-4a2b-bd46-31878c701a3a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:11.448Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:11.450Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:11.459Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:11.460Z 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-05-09T17:19:11.460Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@53c4dfd2'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:11.592Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:11.615Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:11.753Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.451 seconds (process running for 30.041) Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_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 vee1_0.id=? Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id where mh1_0.id=? Hibernate: delete from vaccine_entry_entity vee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 where vee1_0.next_due_date<? [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.557 s -- in co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-05-09T17:19:11.852Z 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-05-09T17:19:11.857Z 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.12) 2026-05-09T17:19:11.871Z 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_E2_Back) 2026-05-09T17:19:11.871Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:11.937Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:11.961Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:11.973Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:11.982Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2aa2b34d-cb6f-40e8-a3ae-077dbec36712;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:11.996Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:11.997Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:12.003Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:12.004Z 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-05-09T17:19:12.005Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5e14efc0'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:12.108Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:12.128Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:12.231Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.372 seconds (process running for 30.518) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.252Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.269Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-09T17:19:12.269Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.285Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:12.305Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 10 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.324Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 13 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-05-09T17:19:12.327Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de actualizar el usuario con id = 13 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.347Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-05-09T17:19:12.380Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 19 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.397Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.413Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.432Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.448Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') 2026-05-09T17:19:12.453Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.473Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-05-09T17:19:12.476Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.497Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 41 2026-05-09T17:19:12.497Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 41 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.516Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.536Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 45 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.555Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-05-09T17:19:12.572Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 51 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-05-09T17:19:12.592Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.745 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-05-09T17:19:12.598Z 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-05-09T17:19:12.602Z 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.12) 2026-05-09T17:19:12.614Z 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_E2_Back) 2026-05-09T17:19:12.614Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:12.668Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:12.689Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:12.699Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:12.707Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cd1bc619-dce8-4c16-927b-a2f2d7ed665b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:12.720Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:12.721Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:12.727Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:12.728Z 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-05-09T17:19:12.729Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4157c7d'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:12.832Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:12.850Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:12.955Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.351 seconds (process running for 31.243) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:12.972Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:12.986Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 0 Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.001Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.014Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 10 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.027Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search all trial cohabitations Hibernate: select tce1_0.id,tce1_1.adoption_request_id,tce1_1.creation_date,tce1_1.pet_id,tce1_1.id,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.043Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.056Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.070Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.083Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.096Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.501 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest 2026-05-09T17:19:13.100Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest]: ReturnCaseServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:13.104Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:13.115Z INFO 71 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Starting ReturnCaseServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:19:13.116Z INFO 71 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:13.167Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:13.186Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:13.197Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:13.204Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b304cd71-37fc-4d21-a590-88ada63dafa8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:13.217Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:13.219Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:13.225Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:13.226Z 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-05-09T17:19:13.226Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5943867f'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:13.326Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:13.344Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:13.479Z INFO 71 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Started ReturnCaseServiceTest in 0.373 seconds (process running for 31.767) Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.487Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 1 2026-05-09T17:19:13.487Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de consultar el caso de devolución con id = 1 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.493Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.500Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 8 2026-05-09T17:19:13.501Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de borrar el caso de devolución con id = 8 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.506Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar todos los casos de devolución Hibernate: select rce1_0.id,rce1_0.adoption_process_id,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.513Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 13 2026-05-09T17:19:13.513Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de actualizar el caso de devolución con id = 13 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-05-09T17:19:13.519Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 16 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.525Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.531Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.537Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.543Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución 2026-05-09T17:19:13.543Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de creación del caso de devolución Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.446 s -- in co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest 2026-05-09T17:19:13.547Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest]: AdoptionProcessServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-09T17:19:13.550Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-09T17:19:13.562Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Starting AdoptionProcessServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-09T17:19:13.562Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:13.611Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:13.630Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:13.639Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:13.647Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a3f473a3-940b-4931-bc14-fdec0d55bba5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:13.659Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:13.660Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:13.667Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19: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-05-09T17:19:13.668Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@345f3a07'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:13.770Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:13.786Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:13.886Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Started AdoptionProcessServiceTest in 0.334 seconds (process running for 32.174) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-05-09T17:19:13.903Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.917Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.931Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.944Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.957Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.970Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search all adoption processes Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ape1_0.adoption_request_id,ape1_0.creation_date,ape1_0.pet_id,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:13.986Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:14.000Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 23 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:14.012Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:14.025Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 0 Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:14.039Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-05-09T17:19:14.052Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_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=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_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 left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.510 s -- in co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-05-09T17:19:14.058Z 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-05-09T17:19:14.061Z 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.12) 2026-05-09T17:19:14.074Z 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_E2_Back) 2026-05-09T17:19:14.074Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-09T17:19:14.123Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-09T17:19:14.142Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-09T17:19:14.151Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-09T17:19:14.158Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:dfb24e92-f55d-46ce-adfd-93ba50c73fc8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-09T17:19:14.171Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-09T17:19:14.172Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-09T17:19:14.179Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-09T17:19:14.180Z 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-05-09T17:19:14.181Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2936294c'] 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_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL 2026-05-09T17:19:14.278Z 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_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists infection_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 medication_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_entity cascade Hibernate: drop table if exists procedure_entity cascade Hibernate: drop table if exists return_case_entity cascade Hibernate: drop table if exists review_entity cascade Hibernate: drop table if exists shelter_entity cascade Hibernate: drop table if exists shelter_media_entity cascade Hibernate: drop table if exists trial_cohabitation_entity cascade Hibernate: drop table if exists user_entity cascade Hibernate: drop table if exists vaccine_entry_entity cascade Hibernate: drop table if exists vet_speciality_relation cascade Hibernate: drop table if exists veterinarian_entity cascade Hibernate: drop table if exists vet_speciality_entity cascade Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id)) Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id)) Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status 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, comments varchar(255), status varchar(255), primary key (id)) Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), 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), event_type varchar(255), primary key (id)) Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id)) Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id)) Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id)) Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id)) Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id)) Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id)) Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id)) Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id)) Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id)) Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id)) Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id)) Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id)) Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id)) Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null) Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id)) Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name 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_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_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 FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_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 medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_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 procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_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 FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_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-05-09T17:19:14.295Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-09T17:19:14.393Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.33 seconds (process running for 32.681) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_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=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_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=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_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 mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,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 left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.518 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 307, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.705 s [INFO] Finished at: 2026-05-09T17:19:14Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 c85444a5bfd40f7959085809dc0a133d8918b167db6c70367a40f49fd4ec7de6 $ docker rm -f --volumes c85444a5bfd40f7959085809dc0a133d8918b167db6c70367a40f49fd4ec7de6 [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 Slave3 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_E2_Back -v /home/cecaduser/workspace/MP_202610_G81_E2_Back:/home/cecaduser/workspace/MP_202610_G81_E2_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E2_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 8095fdbd36c75759a4b43017e8b314b3bf8af87d935aee21125186a5acda6118 -eo pid,comm [Pipeline] { [Pipeline] sh + mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar [INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Progress (1): 3.1 kB Progress (2): 3.1 kB | 4.6 kB Progress (2): 3.1 kB | 9.7 kB Progress (2): 7.7 kB | 9.7 kB Progress (2): 7.7 kB | 14 kB Progress (2): 12 kB | 14 kB Progress (2): 17 kB | 14 kB Progress (2): 20 kB | 14 kB Progress (2): 21 kB | 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 17 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 24 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml Progress (1): 1.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.4 kB at 16 kB/s) [WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation [INFO] [INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E2_Back >------------- [INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202610_G81_E2_Back --- [WARNING] 17:19:23.555 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] 17:19:23.564 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 17:19:23.564 Linux 6.17.0-20-generic (amd64) [INFO] 17:19:23.599 User cache: /root/.sonar/cache [INFO] 17:19:24.229 Communicating with SonarQube Server 25.3.0.104237 [INFO] 17:19:24.245 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 17:19:25.629 Load global settings [INFO] 17:19:25.744 Load global settings (done) | time=117ms [INFO] 17:19:25.759 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 17:19:25.772 Loading required plugins [INFO] 17:19:25.773 Load plugins index [INFO] 17:19:25.820 Load plugins index (done) | time=47ms [INFO] 17:19:25.820 Load/download plugins [INFO] 17:19:26.053 Load/download plugins (done) | time=233ms [INFO] 17:19:26.392 Process project properties [INFO] 17:19:26.406 Process project properties (done) | time=14ms [INFO] 17:19:26.416 Project key: co.edu.udistrital.mdp:MP_202610_G81_E2_Back [INFO] 17:19:26.417 Base dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back [INFO] 17:19:26.417 Working dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/sonar [INFO] 17:19:26.424 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' [INFO] 17:19:26.440 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' (done) | time=16ms [INFO] 17:19:26.469 Load quality profiles [INFO] 17:19:26.519 Load quality profiles (done) | time=50ms [INFO] 17:19:26.532 Auto-configuring with CI 'Jenkins' [INFO] 17:19:26.568 Load active rules [INFO] 17:19:26.820 Load active rules (done) | time=252ms [INFO] 17:19:26.826 Load analysis cache [INFO] 17:19:26.843 Load analysis cache (7.5 kB) | time=17ms [INFO] 17:19:26.914 Preprocessing files... [INFO] 17:19:27.164 2 languages detected in 186 preprocessed files [INFO] 17:19:27.164 0 files ignored because of scm ignore settings [INFO] 17:19:27.167 Loading plugins for detected languages [INFO] 17:19:27.167 Load/download plugins [INFO] 17:19:27.519 Load/download plugins (done) | time=352ms [INFO] 17:19:27.633 Load project repositories [INFO] 17:19:27.759 Load project repositories (done) | time=126ms [INFO] 17:19:27.777 Indexing files... [INFO] 17:19:27.778 Project configuration: [INFO] 17:19:27.778 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**, **/config/**, **/MainApplication.java [INFO] 17:19:27.801 186 files indexed [INFO] 17:19:27.803 Quality profile for java: Sonar way MP [INFO] 17:19:27.803 Quality profile for xml: Sonar way [INFO] 17:19:27.803 ------------- Run sensors on module MP_202610_G81_E2_Back [INFO] 17:19:27.861 Load metrics repository [INFO] 17:19:27.878 Load metrics repository (done) | time=17ms [INFO] 17:19:28.641 Sensor JavaSensor [java] [INFO] 17:19:28.645 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 17:19:28.671 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 17:19:28.673 Using ECJ batch to parse 143 Main java source files with batch size 104 KB. [INFO] 17:19:29.093 Starting batch processing. [INFO] 17:19:29.685 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 17:19:34.079 100% analyzed [INFO] 17:19:34.080 Batch processing: Done. [INFO] 17:19:34.080 Did not optimize analysis for any files, performed a full analysis for all 143 files. [WARNING] 17:19:34.083 Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them. [WARNING] 17:19:34.083 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 17:19:34.083 Using ECJ batch to parse 42 Test java source files with batch size 104 KB. [INFO] 17:19:34.096 Starting batch processing. [INFO] 17:19:35.396 100% analyzed [INFO] 17:19:35.396 Batch processing: Done. [INFO] 17:19:35.397 Did not optimize analysis for any files, performed a full analysis for all 42 files. [INFO] 17:19:35.397 No "Generated" source files to scan. [INFO] 17:19:35.397 Sensor JavaSensor [java] (done) | time=6756ms [INFO] 17:19:35.397 Sensor SurefireSensor [java] [INFO] 17:19:35.399 parsing [/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/surefire-reports] [INFO] 17:19:35.550 Sensor SurefireSensor [java] (done) | time=153ms [INFO] 17:19:35.550 Sensor XML Sensor [xml] [INFO] 17:19:35.557 1 source file to be analyzed [INFO] 17:19:35.738 1/1 source file has been analyzed [INFO] 17:19:35.738 Sensor XML Sensor [xml] (done) | time=188ms [INFO] 17:19:35.739 Sensor JaCoCo XML Report Importer [jacoco] [INFO] 17:19:35.743 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 17:19:35.821 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=82ms [INFO] 17:19:35.821 Sensor Java Config Sensor [iac] [INFO] 17:19:35.841 0 source files to be analyzed [INFO] 17:19:35.841 0/0 source files have been analyzed [INFO] 17:19:35.842 Sensor Java Config Sensor [iac] (done) | time=21ms [INFO] 17:19:35.842 Sensor IaC Docker Sensor [iac] [INFO] 17:19:35.917 0 source files to be analyzed [INFO] 17:19:35.917 0/0 source files have been analyzed [INFO] 17:19:35.918 Sensor IaC Docker Sensor [iac] (done) | time=76ms [INFO] 17:19:35.918 Sensor TextAndSecretsSensor [text] [INFO] 17:19:35.918 Available processors: 4 [INFO] 17:19:35.918 Using 4 threads for analysis. [INFO] 17:19:36.298 Using git CLI to retrieve untracked files [WARNING] 17:19:36.302 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] 17:19:36.333 186 source files to be analyzed [INFO] 17:19:36.577 186/186 source files have been analyzed [INFO] 17:19:36.578 Sensor TextAndSecretsSensor [text] (done) | time=660ms [INFO] 17:19:36.582 ------------- Run sensors on project [INFO] 17:19:36.736 Sensor Zero Coverage Sensor [INFO] 17:19:36.738 Sensor Zero Coverage Sensor (done) | time=1ms [INFO] 17:19:36.738 Sensor Java CPD Block Indexer [INFO] 17:19:36.873 Sensor Java CPD Block Indexer (done) | time=135ms [INFO] 17:19:36.873 ------------- Gather SCA dependencies on project [INFO] 17:19:36.936 SCM Publisher SCM provider for this project is: git [INFO] 17:19:36.938 SCM Publisher 2 source files to be analyzed [INFO] 17:19:37.197 SCM Publisher 2/2 source files have been analyzed (done) | time=259ms [INFO] 17:19:37.209 CPD Executor 43 files had no CPD blocks [INFO] 17:19:37.209 CPD Executor Calculating CPD for 100 files [INFO] 17:19:37.227 CPD Executor CPD calculation finished (done) | time=18ms [INFO] 17:19:37.232 SCM revision ID '15626b2ca8414065d2d6c8645eaf0f3ddece0db7' [INFO] 17:19:37.465 Analysis report generated in 210ms, dir size=1.1 MB [INFO] 17:19:37.832 Analysis report compressed in 367ms, zip size=492.8 kB [INFO] 17:19:37.994 Analysis report uploaded in 162ms [INFO] 17:19:37.996 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202610_G81_E2_Back [INFO] 17:19:37.996 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 17:19:37.996 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=1469179a-915f-448d-afda-5638599d3578 [INFO] 17:19:38.047 Analysis total time: 11.946 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19.190 s [INFO] Finished at: 2026-05-09T17:19:38Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 8095fdbd36c75759a4b43017e8b314b3bf8af87d935aee21125186a5acda6118 $ docker rm -f --volumes 8095fdbd36c75759a4b43017e8b314b3bf8af87d935aee21125186a5acda6118 [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] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS