Started by GitHub push by slmorenog-ud Started by GitHub push by slmorenog-ud 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 7d4cb371291f2191567eb6a4de7f7f37dc2152c9 (refs/remotes/origin/main) Commit message: "Merge pull request #90 from UDFJDC-ModelosProgramacion/feature/HU13-crear-resena" > 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 7d4cb371291f2191567eb6a4de7f7f37dc2152c9 # timeout=10 > git rev-list --no-walk ec32038a2bf508125a768ead3cadd08e8322f2c0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $SONAR_TOKEN [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] scmSkip SCM Skip: Pattern .*\[ci-skip\].* NOT matched on message: feat(HU13): Fix ReviewDTO relations and Pet photo update [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 > 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 Checking out Revision 7d4cb371291f2191567eb6a4de7f7f37dc2152c9 (refs/remotes/origin/main) Commit message: "Merge pull request #90 from UDFJDC-ModelosProgramacion/feature/HU13-crear-resena" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d4cb371291f2191567eb6a4de7f7f37dc2152c9 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main 7d4cb371291f2191567eb6a4de7f7f37dc2152c9 # timeout=10 [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 987dc270c6b993d23264e5e4a08f12a8e55c1dd6a96a32b736792bbccbf1829b -eo pid,comm [Pipeline] { [Pipeline] sh + java -version openjdk version "21.0.4" 2024-07-16 LTS OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing) + mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_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 04:19:29.943 [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. 04:19:30.192 [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-04T04:19:30.994Z 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-04T04:19:30.996Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:31.624Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:31.785Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 146 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:31.904Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:32.058Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:270bf7a0-4c66-40af-a3c6-716b4451f579;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:32.756Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:32.868Z INFO 94 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.44.Final 2026-05-04T04:19:32.938Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:33.519Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:33.627Z 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-04T04:19:33.665Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@21d131e7'] 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-04T04:19:36.230Z 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, 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-04T04:19:36.407Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:37.130Z INFO 94 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-05-04T04:19:38.694Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 8.364 seconds (process running for 10.442) 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.832 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-05-04T04:19:39.454Z 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-04T04:19:39.465Z 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.087 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-05-04T04:19:39.544Z 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-04T04:19:39.554Z 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.070 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-05-04T04:19:39.617Z 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-04T04:19:39.625Z 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.083 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-05-04T04:19:39.702Z 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-04T04:19:39.711Z 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.039 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-05-04T04:19:39.743Z 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-04T04:19:39.751Z 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.049 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-05-04T04:19:39.794Z 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-04T04:19:39.802Z 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.190 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-05-04T04:19:39.985Z 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-04T04:19:39.993Z 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.093 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest 2026-05-04T04:19:40.079Z 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-04T04:19:40.087Z 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.071 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-05-04T04:19:40.150Z 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-04T04:19:40.158Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-05-04T04:19:40.198Z 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-04T04:19:40.206Z 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.070 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-05-04T04:19:40.269Z 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-04T04:19:40.277Z 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.041 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-05-04T04:19:40.312Z 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-04T04:19:40.325Z 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-04T04:19:40.378Z 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-04T04:19:40.378Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:40.380Z DEBUG 94 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@93051d0 2026-05-04T04:19:41.166Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:41.202Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 34 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:41.601Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:41.603Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:41.612Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:41.614Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-05-04T04:19:41.631Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-05-04T04:19:41.634Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-05-04T04:19:41.643Z 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-04T04:19:41.648Z 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-04T04:19:41.964Z 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-04T04:19:42.034Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:42.970Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T04:19:43.127Z DEBUG 94 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T04:19:43.164Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T04:19:43.243Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T04:19:43.599Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T04:19:43.636Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T04:19:43.722Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 3.382 seconds (process running for 15.47) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T04:19:43.862Z 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-04T04:19:43.862Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:44.146Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:44.180Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:44.452Z INFO 94 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-05-04T04:19:44.476Z INFO 94 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-05-04T04:19:44.477Z INFO 94 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-05-04T04:19:44.542Z INFO 94 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-05-04T04:19:44.543Z INFO 94 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 678 ms 2026-05-04T04:19:44.634Z DEBUG 94 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T04:19:44.674Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:44.675Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:44.684Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:44.685Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-05-04T04:19:44.687Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-05-04T04:19:44.687Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-05-04T04:19:44.688Z 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-04T04:19:44.688Z 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-04T04:19:44.916Z 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-04T04:19:44.986Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:45.256Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T04:19:45.294Z DEBUG 94 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T04:19:45.300Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T04:19:45.307Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T04:19:45.369Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T04:19:45.376Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T04:19:45.443Z INFO 94 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 38497 (http) with context path '/api' 2026-05-04T04:19:45.452Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.613 seconds (process running for 17.2) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.157 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.003 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.010 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-04T04:19:45.484Z 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-04T04:19:45.501Z 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-04T04:19:45.513Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:19:45.638Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:19:45.648Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios 2026-05-04T04:19:45.664Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:19:45.668Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:19:45.671Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 2 2026-05-04T04:19:45.672Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 2 2026-05-04T04:19:45.679Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:19:45.683Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:19:45.692Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:19:45.695Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:19:45.698Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 4 2026-05-04T04:19:45.704Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 4 2026-05-04T04:19:45.705Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-04T04:19:45.713Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:19:45.717Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:19:45.719Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 5 2026-05-04T04:19:45.723Z 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.245 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-04T04:19:45.741Z 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-04T04:19:45.743Z 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-04T04:19:45.770Z 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-04T04:19:45.770Z INFO 94 --- [ main] c.e.u.m.p.controllers.PetControllerTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:45.772Z DEBUG 94 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@626a6c1 2026-05-04T04:19:46.026Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:46.056Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 28 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:46.182Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:46.183Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:46.192Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:46.192Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2026-05-04T04:19:46.194Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA 2026-05-04T04:19:46.194Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2026-05-04T04:19:46.195Z 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-04T04:19:46.195Z 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-04T04:19:46.395Z 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-04T04:19:46.453Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:46.713Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T04:19:46.746Z DEBUG 94 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T04:19:46.752Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T04:19:46.758Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T04:19:46.839Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T04:19:46.860Z DEBUG 94 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T04:19:46.862Z INFO 94 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-04T04:19:46.862Z INFO 94 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-04T04:19:46.865Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T04:19:46.871Z INFO 94 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 9 ms 2026-05-04T04:19:46.908Z INFO 94 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Started PetControllerTest in 1.161 seconds (process running for 18.656) 2026-05-04T04:19:47.038Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T04:19:47.154Z 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-04T04:19:47.226Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-05-04T04:19:47.287Z DEBUG 94 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2026-05-04T04:19:47.288Z 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-04T04:19:47.397Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T04:19:47.399Z 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-04T04:19:47.410Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T04:19:47.437Z DEBUG 94 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T04:19:47.443Z 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-04T04:19:47.445Z 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 '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-04T04:19:47.457Z DEBUG 94 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T04:19:47.458Z 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-04T04:19:47.459Z DEBUG 94 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T04:19:47.460Z DEBUG 94 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T04:19:47.460Z 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-04T04:19:47.461Z 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 '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 '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 '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 '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]] ] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.727 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-04T04:19:47.470Z 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-04T04:19:47.471Z 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-04T04:19:47.478Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.483Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.487Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.490Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.492Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:19:47.493Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:19:47.495Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes 2026-05-04T04:19:47.510Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.513Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.515Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.517Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.519Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:19:47.519Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:19:47.521Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 2 2026-05-04T04:19:47.522Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 2 2026-05-04T04:19:47.529Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.532Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.534Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.536Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.538Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:19:47.538Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:19:47.549Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.552Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.554Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.556Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.558Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:19:47.559Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:19:47.560Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 2026-05-04T04:19:47.561Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 4 2026-05-04T04:19:47.561Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 4 2026-05-04T04:19:47.570Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.572Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.574Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.576Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.578Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:19:47.579Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:19:47.580Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 5 2026-05-04T04:19:47.580Z 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.117 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-04T04:19:47.588Z 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-04T04:19:47.589Z 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-04T04:19:47.595Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.597Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.600Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:47.601Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:19:47.603Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones 2026-05-04T04:19:47.615Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.617Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.619Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:47.620Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:19:47.621Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 2 2026-05-04T04:19:47.623Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 2 2026-05-04T04:19:47.629Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.632Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.633Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:47.634Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:19:47.642Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.650Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.652Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:47.653Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:19:47.655Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 4 2026-05-04T04:19:47.656Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 4 2026-05-04T04:19:47.658Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 4 2026-05-04T04:19:47.665Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.669Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.670Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:47.671Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:19:47.672Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 5 2026-05-04T04:19:47.673Z 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.090 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-04T04:19:47.679Z 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-04T04:19:47.680Z 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-04T04:19:47.685Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.688Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.696Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.698Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.700Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes 2026-05-04T04:19:47.709Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.712Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.713Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 18 2026-05-04T04:19:47.714Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 18 2026-05-04T04:19:47.720Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.723Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.724Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 19 2026-05-04T04:19:47.725Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 19 2026-05-04T04:19:47.726Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 19 2026-05-04T04:19:47.733Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:47.735Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:19:47.737Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 2026-05-04T04:19:47.741Z 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.067 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.003 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-05-04T04:19:47.758Z 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-04T04:19:47.777Z 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-04T04:19:47.797Z 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-04T04:19:47.798Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:47.873Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:47.906Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:47.923Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:47.934Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:db578a14-a47e-47bc-9e74-0fc87db10ea0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:47.952Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:47.954Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:47.963Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:47.965Z 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-04T04:19:47.965Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@562f5cdf'] 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-04T04:19:48.153Z 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, 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-04T04:19:48.201Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:48.360Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.58 seconds (process running for 20.109) 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-04T04:19:48.468Z 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-04T04:19:48.516Z 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-04T04:19:48.561Z 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-04T04:19:48.603Z 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-04T04:19:48.606Z 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-04T04:19:48.641Z 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-04T04:19:48.674Z 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-04T04:19:48.705Z 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-04T04:19:48.708Z 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-04T04:19:48.736Z 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-04T04:19:48.786Z 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-04T04:19:48.814Z 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-04T04:19:48.847Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:48.852Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:19:48.857Z 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-04T04:19:48.883Z 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-04T04:19:48.908Z 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-04T04:19:48.939Z 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-04T04:19:48.942Z 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-04T04:19:48.973Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-05-04T04:19:48.974Z 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-04T04:19:49.004Z 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-04T04:19:49.031Z 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-04T04:19:49.056Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-05-04T04:19:49.057Z 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.302 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-05-04T04:19:49.062Z 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-04T04:19:49.067Z 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-04T04:19:49.087Z 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-04T04:19:49.087Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:49.166Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:49.196Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 28 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:49.210Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:49.220Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ee0bb592-8800-4e90-bd5c-0af8448103d4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:49.238Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:49.240Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:49.249Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:49.250Z 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-04T04:19:49.250Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2046fc4e'] 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-04T04:19:49.422Z 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, 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-04T04:19:49.463Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:49.610Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.54 seconds (process running for 21.359) 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.738 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-05-04T04:19:49.801Z 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-04T04:19:49.807Z 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-04T04:19:49.824Z 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-04T04:19:49.824Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:49.889Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:49.914Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:49.929Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:49.939Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cbb3f0e8-36ae-48c7-a5ba-5c9f7e702429;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:49.957Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:49.959Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:49.967Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:49.968Z 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-04T04:19:49.968Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@120cec25'] 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-04T04:19:50.154Z 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, 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-04T04:19:50.191Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:50.336Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.527 seconds (process running for 22.084) 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-04T04:19:50.365Z 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-04T04:19:50.390Z 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-04T04:19:50.417Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-05-04T04:19:50.418Z 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-04T04:19:50.443Z 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-04T04:19:50.469Z 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-04T04:19:50.495Z 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-04T04:19:50.544Z 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-04T04:19:50.578Z 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-04T04:19:50.606Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-05-04T04:19:50.607Z 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-04T04:19:50.632Z 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-04T04:19:50.663Z 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-04T04:19:50.689Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:19:50.689Z 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-04T04:19:50.715Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-05-04T04:19:50.716Z 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-04T04:19:50.746Z 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-04T04:19:50.796Z 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: 1.000 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-05-04T04:19:50.804Z 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-04T04:19:50.810Z 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-04T04:19:50.828Z 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-04T04:19:50.829Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:50.905Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:50.929Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:50.943Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:50.954Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2e965e09-47ac-48c3-b117-e79583d7c3b5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:50.970Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:50.972Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:50.981Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:50.982Z 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-04T04:19:50.983Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@da3ed97'] 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-04T04:19:51.145Z 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, 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-04T04:19:51.178Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:51.315Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.503 seconds (process running for 23.064) 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-04T04:19:51.378Z 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-04T04:19:51.521Z 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-04T04:19:51.624Z 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-04T04:19:51.729Z 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-04T04:19:51.835Z 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-04T04:19:51.964Z 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-04T04:19:52.074Z 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-04T04:19:52.180Z 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-04T04:19:52.286Z 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-04T04:19:52.347Z 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-04T04:19:52.404Z 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-04T04:19:52.461Z 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-04T04:19:52.521Z 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-04T04:19:52.593Z 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-04T04:19:52.651Z 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-04T04:19:52.713Z 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.913 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-05-04T04:19:52.718Z 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-04T04:19:52.723Z 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-04T04:19:52.740Z 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-04T04:19:52.740Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:52.820Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:52.844Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:52.857Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:52.866Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cce50a9e-9f53-4e95-96d3-1b37e0280049;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:52.883Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:52.884Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:52.892Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:52.894Z 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-04T04:19:52.894Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4a1ddbb3'] 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-04T04:19:53.021Z 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, 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-04T04:19:53.061Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:53.178Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.452 seconds (process running for 24.927) 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-04T04:19:53.190Z 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-04T04:19:53.230Z 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-04T04:19:53.242Z 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-04T04:19:53.253Z 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-04T04:19:53.264Z 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-04T04:19:53.278Z 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-04T04:19:53.291Z 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-04T04:19:53.301Z 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-04T04:19:53.316Z 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-04T04:19:53.332Z 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-04T04:19:53.346Z 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-04T04:19:53.358Z 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-04T04:19:53.372Z 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-04T04:19:53.383Z 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-04T04:19:53.395Z 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.681 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-05-04T04:19:53.400Z 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-04T04:19:53.405Z 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-04T04:19:53.420Z 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-04T04:19:53.421Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:53.482Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:53.505Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:53.518Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:53.527Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2b2ee65f-0064-4c52-bb46-36d954b8076c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:53.543Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:53.545Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:53.552Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:53.553Z 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-04T04:19:53.554Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1f48ea66'] 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-04T04:19:53.701Z 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, 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-04T04:19:53.732Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:53.861Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.454 seconds (process running for 25.61) 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-04T04:19:53.879Z 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-04T04:19:53.897Z 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-04T04:19:53.912Z 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-04T04:19:53.930Z 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-04T04:19:53.945Z 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-04T04:19:53.960Z 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-04T04:19:53.976Z 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-04T04:19:53.989Z 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-04T04:19:54.004Z 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-04T04:19:54.017Z 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-04T04:19:54.031Z 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-04T04:19:54.048Z 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-04T04:19:54.068Z 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.671 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-05-04T04:19:54.075Z 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-04T04:19:54.079Z 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-04T04:19:54.093Z 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-04T04:19:54.093Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:54.149Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:54.170Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:54.181Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:54.189Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:937a8be0-3aba-4287-86cb-20dc1f492ff1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:54.203Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:54.204Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:54.210Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:54.211Z 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-04T04:19:54.212Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@25fcb044'] 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-04T04:19:54.335Z 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, 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-04T04:19:54.360Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:54.473Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.392 seconds (process running for 26.222) 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-04T04:19:54.495Z 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-04T04:19:54.515Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-05-04T04:19:54.515Z 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-04T04:19:54.535Z 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-04T04:19:54.556Z 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-04T04:19:54.578Z 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-04T04:19:54.597Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-05-04T04:19:54.597Z 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-04T04:19:54.616Z 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-04T04:19:54.637Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:54.637Z 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-04T04:19:54.685Z 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-04T04:19:54.704Z 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-04T04:19:54.724Z 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-04T04:19:54.743Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:19:54.743Z 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-04T04:19:54.763Z 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-04T04:19:54.784Z 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-04T04:19:54.804Z 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-04T04:19:54.823Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-05-04T04:19:54.823Z 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.752 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-05-04T04:19:54.829Z 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-04T04:19:54.833Z 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-04T04:19:54.846Z 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-04T04:19:54.846Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:54.900Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:54.921Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:54.931Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:54.939Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f5ac3a22-0f87-4912-a814-060dc15bb3bc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:54.953Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:54.954Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:54.960Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:54.961Z 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-04T04:19:54.962Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4dba7715'] 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-04T04:19:55.077Z 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, 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-04T04:19:55.101Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:55.214Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.38 seconds (process running for 26.963) 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.238Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-05-04T04:19:55.238Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.260Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.285Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.306Z 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.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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.330Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-05-04T04:19:55.330Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.350Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-05-04T04:19:55.351Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.372Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.393Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.417Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-05-04T04:19:55.417Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.439Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:19:55.460Z 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,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.636 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-05-04T04:19:55.467Z 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-04T04:19:55.471Z 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-04T04:19:55.483Z 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-04T04:19:55.483Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:55.536Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:55.558Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:55.569Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:55.577Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:40f86f47-c5c3-4225-807d-c17e33aece19;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:55.591Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:55.592Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:55.600Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:55.601Z 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-04T04:19:55.601Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1ec34c29'] 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-04T04:19:55.721Z 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, 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-04T04:19:55.746Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:55.898Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.426 seconds (process running for 27.647) 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-04T04:19:55.907Z 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-04T04:19:55.918Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-05-04T04:19:55.918Z 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-04T04:19:55.926Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-05-04T04:19:55.926Z 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-04T04:19:55.933Z 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-04T04:19:55.942Z 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-04T04:19:55.951Z 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-04T04:19:55.957Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-05-04T04:19:55.958Z 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-04T04:19:55.964Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-05-04T04:19:55.965Z 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-04T04:19:55.974Z 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-04T04:19:55.980Z 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-04T04:19:55.986Z 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.524 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-05-04T04:19:55.992Z 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-04T04:19:55.997Z 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-04T04:19:56.009Z 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-04T04:19:56.009Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:56.062Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:56.081Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:56.092Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:56.100Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e1a41602-e5e3-449e-a6a9-9d9cc8c7bad3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:56.113Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:56.114Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:56.120Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:56.121Z 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-04T04:19:56.122Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2b060232'] 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-04T04:19:56.234Z 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, 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-04T04:19:56.256Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:56.365Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.367 seconds (process running for 28.113) 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-04T04:19:56.378Z 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-04T04:19:56.392Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-1168307006112351 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-04T04:19:56.404Z 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-04T04:19:56.414Z 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-04T04:19:56.425Z 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-04T04:19:56.441Z 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-04T04:19:56.457Z 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-04T04:19:56.471Z 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-04T04:19:56.481Z 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-04T04:19:56.494Z 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-04T04:19:56.506Z 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-04T04:19:56.518Z 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-04T04:19:56.531Z 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-04T04:19:56.541Z 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-04T04:19:56.551Z 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-04T04:19:56.563Z 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-04T04:19:56.573Z 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-04T04:19:56.584Z 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-04T04:19:56.593Z 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-04T04:19:56.607Z 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-04T04:19:56.617Z 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.629 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-05-04T04:19:56.622Z 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-04T04:19:56.626Z 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-04T04:19:56.639Z 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-04T04:19:56.639Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:56.691Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:56.712Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:56.722Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:56.730Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d53da76e-d561-4f30-bb7e-d24fb52bcda5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:56.744Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:56.745Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:56.751Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:56.752Z 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-04T04:19:56.752Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@242d498a'] 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-04T04:19:56.862Z 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, 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-04T04:19:56.882Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:56.993Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.365 seconds (process running for 28.741) 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-04T04:19:57.085Z 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-04T04:19:57.131Z 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-04T04:19:57.176Z 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.560 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-05-04T04:19:57.183Z 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-04T04:19:57.187Z 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-04T04:19:57.199Z 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-04T04:19:57.199Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:57.251Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:57.271Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:57.282Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:57.290Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2949ef1b-acdf-4701-96b8-30631425dc7c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:57.303Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:57.305Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:57.311Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:57.312Z 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-04T04:19:57.312Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3fa21bc4'] 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-04T04:19:57.470Z 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, 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-04T04:19:57.490Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:57.598Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.409 seconds (process running for 29.346) 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-04T04:19:57.653Z 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-04T04:19:57.706Z 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-04T04:19:57.759Z 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-04T04:19:57.812Z 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-04T04:19:57.866Z 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-04T04:19:57.955Z 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-04T04:19:58.007Z 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-04T04:19:58.065Z 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-04T04:19:58.118Z 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-04T04:19:58.168Z 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-04T04:19:58.229Z 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-04T04:19:58.280Z 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-04T04:19:58.357Z 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-04T04:19:58.411Z 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-04T04:19:58.475Z 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-04T04:19:58.528Z 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-04T04:19:58.582Z 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.403 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-05-04T04:19:58.587Z 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-04T04:19:58.591Z 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-04T04:19:58.604Z 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-04T04:19:58.604Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:19:58.656Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:19:58.676Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-04T04:19:58.686Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:19:58.694Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ca450dab-c190-4e5a-b914-b62e665d78e1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:19:58.708Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:19:58.709Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:19:58.716Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:19:58.717Z 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-04T04:19:58.717Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@72ad9c7a'] 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-04T04:19:58.826Z 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, 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-04T04:19:58.844Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:19:58.950Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.357 seconds (process running for 30.699) 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] 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 04:20:10.783 [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. 04:20:11.038 [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-04T04:20:11.836Z 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-04T04:20:11.838Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:12.444Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:12.608Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 148 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:12.720Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:12.864Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ad6bf96c-f438-4aa7-a70a-e0bf0891392c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:13.513Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:13.614Z INFO 71 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.44.Final 2026-05-04T04:20:13.675Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:14.225Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:14.318Z 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-04T04:20:14.357Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7555782c'] 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-04T04:20:16.785Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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, 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-04T04:20:16.948Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:17.625Z INFO 71 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-05-04T04:20:19.259Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 8.087 seconds (process running for 10.109) 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.496 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-05-04T04:20:19.977Z 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-04T04:20:19.987Z 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-04T04:20:20.073Z 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-04T04:20:20.081Z 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.057 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-05-04T04:20:20.132Z 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-04T04:20:20.139Z 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.069 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-05-04T04:20:20.202Z 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-04T04:20:20.220Z 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.047 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-05-04T04:20:20.251Z 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-04T04:20:20.258Z 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.048 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-05-04T04:20:20.300Z 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-04T04:20:20.308Z 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.167 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-05-04T04:20:20.469Z 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-04T04:20:20.476Z 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.079 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest 2026-05-04T04:20:20.550Z 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-04T04:20:20.557Z 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.065 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-05-04T04:20:20.616Z 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-04T04:20:20.623Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-05-04T04:20:20.673Z 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-04T04:20:20.680Z 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.065 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-05-04T04:20:20.742Z 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-04T04:20:20.756Z 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.069 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-05-04T04:20:20.812Z 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-04T04:20:20.824Z 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-04T04:20:20.873Z 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-04T04:20:20.873Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:20.875Z DEBUG 71 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@3e9ffa3a 2026-05-04T04:20:21.582Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:21.615Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:21.982Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:21.984Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:21.992Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:21.994Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-05-04T04:20:22.010Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-05-04T04:20:22.012Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-05-04T04:20:22.021Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T04:20:22.026Z 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-04T04:20:22.266Z 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-04T04:20:22.327Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:23.142Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T04:20:23.335Z DEBUG 71 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T04:20:23.373Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T04:20:23.447Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T04:20:23.742Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T04:20:23.761Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T04:20:23.840Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 2.999 seconds (process running for 14.689) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T04:20:23.966Z 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-04T04:20:23.966Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:24.223Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:24.251Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:24.489Z INFO 71 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-05-04T04:20:24.512Z INFO 71 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-05-04T04:20:24.513Z INFO 71 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-05-04T04:20:24.571Z INFO 71 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-05-04T04:20:24.572Z INFO 71 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 604 ms 2026-05-04T04:20:24.684Z DEBUG 71 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T04:20:24.721Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:24.723Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:24.731Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:24.732Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-05-04T04:20:24.734Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-05-04T04:20:24.734Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-05-04T04:20:24.735Z 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-04T04:20:24.735Z 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-04T04:20:24.961Z 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-04T04:20:25.027Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:25.287Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T04:20:25.320Z DEBUG 71 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T04:20:25.326Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T04:20:25.332Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T04:20:25.385Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T04:20:25.392Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T04:20:25.431Z INFO 71 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 36971 (http) with context path '/api' 2026-05-04T04:20:25.439Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.494 seconds (process running for 16.289) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.643 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-04T04:20:25.467Z 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-04T04:20:25.480Z 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-04T04:20:25.491Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:20:25.605Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:20:25.614Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios 2026-05-04T04:20:25.628Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:20:25.631Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:20:25.633Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 2 2026-05-04T04:20:25.635Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 2 2026-05-04T04:20:25.642Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:20:25.645Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:20:25.653Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:20:25.656Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:20:25.658Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 4 2026-05-04T04:20:25.663Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 4 2026-05-04T04:20:25.664Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-04T04:20:25.671Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T04:20:25.675Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T04:20:25.677Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 5 2026-05-04T04:20:25.681Z 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.219 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-04T04:20:25.697Z 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-04T04:20:25.703Z 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-04T04:20:25.722Z 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-04T04:20:25.723Z INFO 71 --- [ main] c.e.u.m.p.controllers.PetControllerTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:25.724Z DEBUG 71 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@5fe13931 2026-05-04T04:20:25.957Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:25.984Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:26.070Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:26.071Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:26.079Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:26.080Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2026-05-04T04:20:26.081Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA 2026-05-04T04:20:26.082Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2026-05-04T04:20:26.082Z 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-04T04:20:26.083Z 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-04T04:20:26.262Z 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-04T04:20:26.315Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:26.546Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T04:20:26.575Z DEBUG 71 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T04:20:26.581Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T04:20:26.588Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T04:20:26.663Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T04:20:26.682Z DEBUG 71 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T04:20:26.684Z INFO 71 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-04T04:20:26.684Z INFO 71 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-04T04:20:26.687Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T04:20:26.692Z INFO 71 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 8 ms 2026-05-04T04:20:26.726Z INFO 71 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Started PetControllerTest in 1.019 seconds (process running for 17.576) 2026-05-04T04:20:26.866Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T04:20:26.945Z 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-04T04:20:27.000Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-05-04T04:20:27.022Z DEBUG 71 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2026-05-04T04:20:27.023Z 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-04T04:20:27.106Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T04:20:27.107Z 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-04T04:20:27.117Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T04:20:27.138Z DEBUG 71 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T04:20:27.142Z 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-04T04:20:27.143Z 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 '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]] [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 '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 '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 '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-04T04:20:27.154Z DEBUG 71 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T04:20:27.155Z 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-04T04:20:27.156Z DEBUG 71 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T04:20:27.157Z DEBUG 71 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T04:20:27.157Z 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-04T04:20:27.158Z 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 '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.466 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-04T04:20:27.165Z 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-04T04:20:27.167Z 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-04T04:20:27.172Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.176Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.179Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.182Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.184Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:20:27.185Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:20:27.187Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes 2026-05-04T04:20:27.197Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.200Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.202Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.204Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.206Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:20:27.206Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:20:27.208Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 2 2026-05-04T04:20:27.209Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 2 2026-05-04T04:20:27.215Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.218Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.220Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.222Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.223Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:20:27.224Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:20:27.232Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.234Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.236Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.238Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.240Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:20:27.240Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:20:27.242Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 2026-05-04T04:20:27.242Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 4 2026-05-04T04:20:27.243Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 4 2026-05-04T04:20:27.249Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.252Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.253Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.256Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.257Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:20:27.258Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T04:20:27.259Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 5 2026-05-04T04:20:27.259Z 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.099 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-04T04:20:27.265Z 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-04T04:20:27.266Z 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-04T04:20:27.271Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.274Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.277Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:27.278Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:20:27.280Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones 2026-05-04T04:20:27.290Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.293Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.294Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:27.295Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:20:27.296Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 2 2026-05-04T04:20:27.297Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 2 2026-05-04T04:20:27.303Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.305Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.307Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:27.307Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:20:27.314Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.317Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.318Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:27.319Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:20:27.321Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 4 2026-05-04T04:20:27.321Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 4 2026-05-04T04:20:27.323Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 4 2026-05-04T04:20:27.329Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.332Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.334Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:27.334Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T04:20:27.336Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 5 2026-05-04T04:20:27.336Z 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.076 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-04T04:20:27.342Z 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-04T04:20:27.343Z 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-04T04:20:27.348Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.351Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.359Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.361Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.363Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes 2026-05-04T04:20:27.371Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.373Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.374Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 18 2026-05-04T04:20:27.375Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 18 2026-05-04T04:20:27.380Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.382Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.384Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 19 2026-05-04T04:20:27.384Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 19 2026-05-04T04:20:27.386Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 19 2026-05-04T04:20:27.391Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:27.394Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T04:20:27.395Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 2026-05-04T04:20:27.398Z 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.060 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-04T04:20:27.417Z 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-04T04:20:27.432Z 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-04T04:20:27.448Z 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-04T04:20:27.448Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:27.511Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:27.536Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:27.550Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:27.559Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:25567f6c-c471-4188-9a8d-04ba33e73d15;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:27.576Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:27.577Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:27.585Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:27.586Z 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-04T04:20:27.587Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3bbac3fe'] 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-04T04:20:27.748Z 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, 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-04T04:20:27.788Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:27.941Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.507 seconds (process running for 18.791) 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-04T04:20:28.022Z 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-04T04:20:28.064Z 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-04T04:20:28.103Z 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-04T04:20:28.144Z 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-04T04:20:28.147Z 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-04T04:20:28.185Z 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-04T04:20:28.230Z 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-04T04:20:28.274Z 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-04T04:20:28.279Z 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-04T04:20:28.312Z 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-04T04:20:28.353Z 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-04T04:20:28.385Z 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-04T04:20:28.455Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:28.461Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T04:20:28.468Z 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-04T04:20:28.500Z 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-04T04:20:28.534Z 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-04T04:20:28.565Z 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-04T04:20:28.567Z 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-04T04:20:28.620Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-05-04T04:20:28.621Z 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-04T04:20:28.652Z 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-04T04:20:28.677Z 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-04T04:20:28.699Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-05-04T04:20:28.700Z 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.287 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-05-04T04:20:28.705Z 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-04T04:20:28.710Z 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-04T04:20:28.731Z 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-04T04:20:28.731Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:28.794Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:28.818Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:28.831Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:28.841Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c53d6e63-03f7-4265-81b2-06c2b2e1f4dc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:28.857Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:28.859Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:28.868Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:28.869Z 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-04T04:20:28.870Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@309c259f'] 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-04T04:20:29.024Z 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, 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-04T04:20:29.059Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:29.190Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.475 seconds (process running for 20.039) 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.662 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-05-04T04:20:29.368Z 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-04T04:20:29.373Z 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-04T04:20:29.388Z 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-04T04:20:29.388Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:29.446Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:29.469Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:29.481Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:29.490Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2a1a85e3-9559-47f2-93d7-c6906a32d135;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:29.505Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:29.507Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:29.514Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:29.515Z 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-04T04:20:29.515Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@140d41f9'] 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-04T04:20:29.659Z 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, 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-04T04:20:29.690Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:29.819Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.443 seconds (process running for 20.668) 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-04T04:20:29.846Z 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-04T04:20:29.894Z 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-04T04:20:29.926Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-05-04T04:20:29.927Z 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-04T04:20:29.953Z 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-04T04:20:29.977Z 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-04T04:20:30.001Z 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-04T04:20:30.029Z 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-04T04:20:30.064Z 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-04T04:20:30.125Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-05-04T04:20:30.126Z 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-04T04:20:30.156Z 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-04T04:20:30.192Z 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-04T04:20:30.215Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T04:20:30.215Z 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-04T04:20:30.238Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-05-04T04:20:30.238Z 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-04T04:20:30.262Z 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-04T04:20:30.284Z 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.920 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-05-04T04:20:30.290Z 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-04T04:20:30.295Z 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-04T04:20:30.312Z 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-04T04:20:30.312Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:30.372Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:30.394Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:30.405Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:30.414Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4dd71041-1f90-4fce-8fa9-23b983246a39;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:30.429Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:30.431Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:30.439Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:30.440Z 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-04T04:20:30.441Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@56fecad3'] 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-04T04:20:30.582Z 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, 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-04T04:20:30.611Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:30.743Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.446 seconds (process running for 21.593) 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-04T04:20:30.800Z 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-04T04:20:30.908Z 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-04T04:20:31.004Z 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-04T04:20:31.101Z 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-04T04:20:31.197Z 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-04T04:20:31.276Z 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-04T04:20:31.339Z 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-04T04:20:31.391Z 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-04T04:20:31.439Z 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-04T04:20:31.490Z 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-04T04:20:31.538Z 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-04T04:20:31.595Z 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-04T04:20:31.646Z 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-04T04:20:31.705Z 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-04T04:20:31.754Z 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-04T04:20:31.820Z 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.535 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-05-04T04:20:31.825Z 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-04T04:20:31.829Z 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-04T04:20:31.843Z 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-04T04:20:31.843Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:31.900Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:31.922Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:31.933Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:31.941Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:87fd7501-6974-479a-ae70-9b6d87b41989;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:31.955Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:31.957Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:31.964Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:31.965Z 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-04T04:20:31.965Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2e99e421'] 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-04T04:20:32.093Z 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, 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-04T04:20:32.121Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:32.241Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.409 seconds (process running for 23.091) 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-04T04:20:32.255Z 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-04T04:20:32.295Z 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-04T04:20:32.307Z 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-04T04:20:32.318Z 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-04T04:20:32.329Z 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-04T04:20:32.342Z 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-04T04:20:32.353Z 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-04T04:20:32.362Z 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-04T04:20:32.373Z 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-04T04:20:32.383Z 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-04T04:20:32.395Z 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-04T04:20:32.406Z 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-04T04:20:32.419Z 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-04T04:20:32.429Z 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-04T04:20:32.440Z 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.618 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-05-04T04:20:32.444Z 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-04T04:20:32.449Z 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-04T04:20:32.462Z 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-04T04:20:32.462Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:32.519Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:32.541Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:32.551Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:32.560Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:70c33364-6069-4700-93bb-19d29476a0ff;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:32.574Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:32.575Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:32.582Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:32.583Z 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-04T04:20:32.583Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2df7aba5'] 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-04T04:20:32.709Z 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, 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-04T04:20:32.737Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:32.853Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.402 seconds (process running for 23.703) 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-04T04:20:32.871Z 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-04T04:20:32.890Z 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-04T04:20:32.906Z 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-04T04:20:32.922Z 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-04T04:20:32.937Z 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-04T04:20:32.952Z 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-04T04:20:32.967Z 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-04T04:20:32.981Z 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-04T04:20:32.995Z 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-04T04:20:33.008Z 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-04T04:20:33.022Z 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-04T04:20:33.038Z 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-04T04:20:33.058Z 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.618 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-05-04T04:20:33.063Z 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-04T04:20:33.067Z 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-04T04:20:33.080Z 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-04T04:20:33.080Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:33.159Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:33.180Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:33.191Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:33.199Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:342f1de9-f574-4bd0-9b75-09abc5a91564;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:33.212Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:33.214Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:33.221Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:33.222Z 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-04T04:20:33.222Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@275cd42c'] 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-04T04:20:33.345Z 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, 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-04T04:20:33.369Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:33.483Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.414 seconds (process running for 24.333) 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-04T04:20:33.506Z 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-04T04:20:33.526Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-05-04T04:20:33.527Z 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-04T04:20:33.546Z 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-04T04:20:33.567Z 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-04T04:20:33.588Z 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-04T04:20:33.606Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-05-04T04:20:33.607Z 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-04T04:20:33.625Z 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-04T04:20:33.645Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:33.646Z 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-04T04:20:33.665Z 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-04T04:20:33.684Z 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-04T04:20:33.704Z 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-04T04:20:33.723Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T04:20:33.724Z 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-04T04:20:33.743Z 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-04T04:20:33.787Z 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-04T04:20:33.806Z 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-04T04:20:33.825Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-05-04T04:20:33.825Z 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.765 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-05-04T04:20:33.830Z 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-04T04:20:33.834Z 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-04T04:20:33.846Z 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-04T04:20:33.847Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:33.900Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:33.920Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:33.931Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:33.939Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ad6dfbec-ca26-4b4f-81aa-d05462542b4a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:33.953Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:33.954Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:33.961Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:33.962Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T04:20:33.962Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3fa18b5'] 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-04T04:20:34.077Z 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, 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-04T04:20:34.102Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:34.216Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.381 seconds (process running for 25.065) 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.239Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-05-04T04:20:34.240Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.262Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.287Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.308Z 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.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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.332Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-05-04T04:20:34.333Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.352Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-05-04T04:20:34.353Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.373Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.395Z 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,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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.417Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-05-04T04:20:34.418Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.438Z 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,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-05-04T04:20:34.460Z 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,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.637 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-05-04T04:20:34.467Z 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-04T04:20:34.471Z 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-04T04:20:34.483Z 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-04T04:20:34.483Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:34.556Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:34.577Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:34.588Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:34.596Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:56e2d61c-bf14-484b-9299-6e1a38462838;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:34.610Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:34.611Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:34.619Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:34.620Z 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-04T04:20:34.621Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@707479df'] 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-04T04:20:34.737Z 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, 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-04T04:20:34.760Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:34.869Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.397 seconds (process running for 25.719) 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-04T04:20:34.878Z 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-04T04:20:34.889Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-05-04T04:20:34.889Z 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-04T04:20:34.896Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-05-04T04:20:34.896Z 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-04T04:20:34.903Z 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-04T04:20:34.911Z 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-04T04:20:34.920Z 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-04T04:20:34.926Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-05-04T04:20:34.927Z 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-04T04:20:34.932Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-05-04T04:20:34.933Z 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-04T04:20:34.942Z 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-04T04:20:34.948Z 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-04T04:20:34.954Z 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.492 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-05-04T04:20:34.960Z 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-04T04:20:34.964Z 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-04T04:20:34.977Z 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-04T04:20:34.977Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:35.030Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:35.050Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:35.060Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:35.068Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:39e3afd7-6475-41d4-8397-5a688f1335b1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:35.081Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:35.083Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:35.089Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:35.090Z 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-04T04:20:35.090Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@44d9b1e2'] 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-04T04:20:35.202Z 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, 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-04T04:20:35.224Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:35.330Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.364 seconds (process running for 26.179) 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-04T04:20:35.344Z 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-04T04:20:35.358Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-1168345972581735 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-04T04:20:35.369Z 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-04T04:20:35.380Z 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-04T04:20:35.390Z 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-04T04:20:35.405Z 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-04T04:20:35.420Z 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-04T04:20:35.434Z 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-04T04:20:35.444Z 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-04T04:20:35.456Z 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-04T04:20:35.468Z 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-04T04:20:35.479Z 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-04T04:20:35.492Z 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-04T04:20:35.501Z 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-04T04:20:35.511Z 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-04T04:20:35.523Z 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-04T04:20:35.533Z 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-04T04:20:35.543Z 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-04T04:20:35.553Z 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-04T04:20:35.567Z 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-04T04:20:35.578Z 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.621 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-05-04T04:20:35.582Z 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-04T04:20:35.586Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T04:20:35.598Z 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-04T04:20:35.599Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:35.684Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:35.704Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:35.714Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:35.722Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a0dbf4fc-114e-4c51-9054-b7ac439691ba;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:35.735Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:35.736Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:35.743Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:35.744Z 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-04T04:20:35.744Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7f1c14fd'] 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-04T04:20:35.854Z 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, 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-04T04:20:35.874Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:35.980Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.392 seconds (process running for 26.83) 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-04T04:20:36.073Z 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-04T04:20:36.118Z 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-04T04:20:36.162Z 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.586 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-05-04T04:20:36.170Z 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-04T04:20:36.173Z 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-04T04:20:36.186Z 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-04T04:20:36.186Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:36.237Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:36.257Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:36.267Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:36.275Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:46fc3523-7419-43eb-8697-340f3482e40d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:36.288Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:36.290Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:36.296Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:36.297Z 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-04T04:20:36.297Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@e85d559'] 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-04T04:20:36.407Z 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, 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-04T04:20:36.427Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:36.571Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.396 seconds (process running for 27.42) 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-04T04:20:36.625Z 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-04T04:20:36.678Z 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-04T04:20:36.731Z 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-04T04:20:36.808Z 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-04T04:20:36.875Z 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-04T04:20:36.933Z 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-04T04:20:36.990Z 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-04T04:20:37.062Z 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-04T04:20:37.121Z 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-04T04:20:37.202Z 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-04T04:20:37.270Z 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-04T04:20:37.365Z 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-04T04:20:37.438Z 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-04T04:20:37.492Z 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-04T04:20:37.557Z 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-04T04:20:37.615Z 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-04T04:20:37.665Z 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.499 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-05-04T04:20:37.671Z 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-04T04:20:37.675Z 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-04T04:20:37.689Z 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-04T04:20:37.689Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T04:20:37.743Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T04:20:37.763Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T04:20:37.773Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T04:20:37.782Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:182931f0-9c63-4120-8eef-3d7cc4d00b96;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T04:20:37.796Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T04:20:37.797Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T04:20:37.804Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T04:20:37.805Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T04:20:37.806Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3329f837'] 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-04T04:20:37.920Z 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, 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-04T04:20:37.940Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T04:20:38.045Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.368 seconds (process running for 28.895) 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] 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] 04:20:46.232 Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121'. [INFO] 04:20:46.241 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 04:20:46.241 Linux 6.17.0-20-generic (amd64) [INFO] 04:20:46.424 User cache: /root/.sonar/cache [INFO] 04:20:47.032 Communicating with SonarQube Server 25.3.0.104237 [INFO] 04:20:47.050 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 04:20:48.170 Load global settings [INFO] 04:20:48.272 Load global settings (done) | time=102ms [INFO] 04:20:48.287 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 04:20:48.299 Loading required plugins [INFO] 04:20:48.300 Load plugins index [INFO] 04:20:48.358 Load plugins index (done) | time=58ms [INFO] 04:20:48.358 Load/download plugins [INFO] 04:20:48.670 Load/download plugins (done) | time=312ms [INFO] 04:20:49.004 Process project properties [INFO] 04:20:49.018 Process project properties (done) | time=14ms [INFO] 04:20:49.029 Project key: co.edu.udistrital.mdp:MP_202610_G81_E2_Back [INFO] 04:20:49.030 Base dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back [INFO] 04:20:49.030 Working dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/sonar [INFO] 04:20:49.038 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' [INFO] 04:20:49.061 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' (done) | time=23ms [INFO] 04:20:49.092 Load quality profiles [INFO] 04:20:49.141 Load quality profiles (done) | time=49ms [INFO] 04:20:49.155 Auto-configuring with CI 'Jenkins' [INFO] 04:20:49.192 Load active rules [INFO] 04:20:49.482 Load active rules (done) | time=290ms [INFO] 04:20:49.488 Load analysis cache [INFO] 04:20:49.506 Load analysis cache (7.5 kB) | time=17ms [INFO] 04:20:49.572 Preprocessing files... [INFO] 04:20:49.894 2 languages detected in 186 preprocessed files [INFO] 04:20:49.894 0 files ignored because of scm ignore settings [INFO] 04:20:49.897 Loading plugins for detected languages [INFO] 04:20:49.897 Load/download plugins [INFO] 04:20:50.244 Load/download plugins (done) | time=347ms [INFO] 04:20:50.357 Load project repositories [INFO] 04:20:50.472 Load project repositories (done) | time=115ms [INFO] 04:20:50.490 Indexing files... [INFO] 04:20:50.491 Project configuration: [INFO] 04:20:50.491 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**, **/config/**, **/MainApplication.java [INFO] 04:20:50.515 186 files indexed [INFO] 04:20:50.516 Quality profile for java: Sonar way MP [INFO] 04:20:50.516 Quality profile for xml: Sonar way [INFO] 04:20:50.516 ------------- Run sensors on module MP_202610_G81_E2_Back [INFO] 04:20:50.583 Load metrics repository [INFO] 04:20:50.601 Load metrics repository (done) | time=18ms [INFO] 04:20:51.433 Sensor JavaSensor [java] [INFO] 04:20:51.437 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 04:20:51.462 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 04:20:51.464 Using ECJ batch to parse 143 Main java source files with batch size 104 KB. [INFO] 04:20:51.843 Starting batch processing. [INFO] 04:20:52.406 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 04:20:56.759 100% analyzed [INFO] 04:20:56.759 Batch processing: Done. [INFO] 04:20:56.761 Did not optimize analysis for any files, performed a full analysis for all 143 files. [WARNING] 04:20:56.763 Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them. [WARNING] 04:20:56.764 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 04:20:56.764 Using ECJ batch to parse 42 Test java source files with batch size 104 KB. [INFO] 04:20:56.777 Starting batch processing. [INFO] 04:20:57.976 100% analyzed [INFO] 04:20:57.976 Batch processing: Done. [INFO] 04:20:57.977 Did not optimize analysis for any files, performed a full analysis for all 42 files. [INFO] 04:20:57.977 No "Generated" source files to scan. [INFO] 04:20:57.977 Sensor JavaSensor [java] (done) | time=6544ms [INFO] 04:20:57.977 Sensor SurefireSensor [java] [INFO] 04:20:57.979 parsing [/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/surefire-reports] [INFO] 04:20:58.134 Sensor SurefireSensor [java] (done) | time=156ms [INFO] 04:20:58.134 Sensor XML Sensor [xml] [INFO] 04:20:58.140 1 source file to be analyzed [INFO] 04:20:58.320 1/1 source file has been analyzed [INFO] 04:20:58.320 Sensor XML Sensor [xml] (done) | time=186ms [INFO] 04:20:58.320 Sensor JaCoCo XML Report Importer [jacoco] [INFO] 04:20:58.324 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 04:20:58.413 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=93ms [INFO] 04:20:58.413 Sensor Java Config Sensor [iac] [INFO] 04:20:58.433 0 source files to be analyzed [INFO] 04:20:58.433 0/0 source files have been analyzed [INFO] 04:20:58.434 Sensor Java Config Sensor [iac] (done) | time=21ms [INFO] 04:20:58.434 Sensor IaC Docker Sensor [iac] [INFO] 04:20:58.511 0 source files to be analyzed [INFO] 04:20:58.511 0/0 source files have been analyzed [INFO] 04:20:58.511 Sensor IaC Docker Sensor [iac] (done) | time=77ms [INFO] 04:20:58.511 Sensor TextAndSecretsSensor [text] [INFO] 04:20:58.512 Available processors: 4 [INFO] 04:20:58.512 Using 4 threads for analysis. [INFO] 04:20:58.884 Using git CLI to retrieve untracked files [WARNING] 04:20:58.888 Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions" [INFO] 04:20:58.927 186 source files to be analyzed [INFO] 04:20:59.264 186/186 source files have been analyzed [INFO] 04:20:59.266 Sensor TextAndSecretsSensor [text] (done) | time=755ms [INFO] 04:20:59.283 ------------- Run sensors on project [INFO] 04:20:59.426 Sensor Zero Coverage Sensor [INFO] 04:20:59.427 Sensor Zero Coverage Sensor (done) | time=1ms [INFO] 04:20:59.428 Sensor Java CPD Block Indexer [INFO] 04:20:59.542 Sensor Java CPD Block Indexer (done) | time=114ms [INFO] 04:20:59.542 ------------- Gather SCA dependencies on project [INFO] 04:20:59.564 SCM Publisher SCM provider for this project is: git [INFO] 04:20:59.566 SCM Publisher 2 source files to be analyzed [INFO] 04:20:59.821 SCM Publisher 2/2 source files have been analyzed (done) | time=255ms [INFO] 04:20:59.835 CPD Executor 43 files had no CPD blocks [INFO] 04:20:59.836 CPD Executor Calculating CPD for 100 files [INFO] 04:20:59.854 CPD Executor CPD calculation finished (done) | time=18ms [INFO] 04:20:59.859 SCM revision ID '7d4cb371291f2191567eb6a4de7f7f37dc2152c9' [INFO] 04:21:00.023 Analysis report generated in 139ms, dir size=1.1 MB [INFO] 04:21:00.398 Analysis report compressed in 375ms, zip size=492.3 kB [INFO] 04:21:00.509 Analysis report uploaded in 110ms [INFO] 04:21:00.510 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] 04:21:00.510 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 04:21:00.510 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=f498ff17-4e61-4723-8d04-d3dad1473244 [INFO] 04:21:00.564 Analysis total time: 11.843 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15.438 s [INFO] Finished at: 2026-05-04T04:21:00Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 dd154d22c5600fe9bfbe99636e7d3624d68990b366af10527966f72481829a87 $ docker rm -f --volumes dd154d22c5600fe9bfbe99636e7d3624d68990b366af10527966f72481829a87 [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