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 ec32038a2bf508125a768ead3cadd08e8322f2c0 (refs/remotes/origin/main) Commit message: "Merge pull request #89 from UDFJDC-ModelosProgramacion/develop/1int" > 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 ec32038a2bf508125a768ead3cadd08e8322f2c0 # timeout=10 > git rev-list --no-walk efbbe79366f09276b77fe32ee1272b16bb27df17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $SONAR_TOKEN [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] scmSkip SCM Skip: Pattern .*\[ci-skip\].* NOT matched on message: fix: update CORS configuration and endpoint validations for frontend integration [Pipeline] git Selected Git installation does not exist. Using Default The recommended git tool is: NONE Warning: CredentialId "c0e8826e-5e2c-4c1c-a484-6c17d53ac539" could not be found. Fetching changes from the remote Git repository Checking out Revision ec32038a2bf508125a768ead3cadd08e8322f2c0 (refs/remotes/origin/main) Commit message: "Merge pull request #89 from UDFJDC-ModelosProgramacion/develop/1int" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202610_G81_E2_Back/.git # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back > git --version # timeout=10 > git --version # 'git version 2.43.0' > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec32038a2bf508125a768ead3cadd08e8322f2c0 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main ec32038a2bf508125a768ead3cadd08e8322f2c0 # timeout=10 [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 3b60712425b2a2f894167c4e03e5ab7a6286dc50c28c0cbd04fce1671a547a3f -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 02:24:03.632 [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. 02:24:03.967 [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-04T02:24:05.067Z INFO 92 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:05.069Z INFO 92 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:06.012Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:06.188Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 149 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:06.304Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:06.466Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:feb374ac-983f-4b07-80da-42a19d4b2c81;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:07.118Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:07.221Z INFO 92 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.44.Final 2026-05-04T02:24:07.282Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:07.844Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:07.937Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:07.976Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5de25642'] 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-04T02:24:10.395Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:10.555Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:11.199Z INFO 92 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-05-04T02:24:12.875Z INFO 92 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 8.743 seconds (process running for 11.022) 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: 10.34 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-05-04T02:24:13.614Z INFO 92 --- [ 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-04T02:24:13.624Z INFO 92 --- [ 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.120 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-05-04T02:24:13.738Z INFO 92 --- [ 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-04T02:24:13.756Z INFO 92 --- [ 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.083 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-05-04T02:24:13.823Z INFO 92 --- [ 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-04T02:24:13.839Z INFO 92 --- [ 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.073 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-05-04T02:24:13.899Z INFO 92 --- [ 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-04T02:24:13.917Z INFO 92 --- [ 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.050 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-05-04T02:24:13.952Z INFO 92 --- [ 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-04T02:24:13.964Z INFO 92 --- [ 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.050 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-05-04T02:24:14.002Z INFO 92 --- [ 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-04T02:24:14.015Z INFO 92 --- [ 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.175 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-05-04T02:24:14.179Z INFO 92 --- [ 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-04T02:24:14.185Z INFO 92 --- [ 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-04T02:24:14.259Z INFO 92 --- [ 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-04T02:24:14.265Z INFO 92 --- [ 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.069 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-05-04T02:24:14.329Z INFO 92 --- [ 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-04T02:24:14.336Z INFO 92 --- [ 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.043 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-05-04T02:24:14.377Z INFO 92 --- [ 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-04T02:24:14.383Z INFO 92 --- [ 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-04T02:24:14.443Z INFO 92 --- [ 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-04T02:24:14.449Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-05-04T02:24:14.477Z INFO 92 --- [ 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-04T02:24:14.492Z INFO 92 --- [ 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-04T02:24:14.543Z INFO 92 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Starting MainApplicationTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:14.544Z INFO 92 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:14.545Z DEBUG 92 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@3af0e134 2026-05-04T02:24:15.305Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:15.342Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 36 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:15.759Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:15.761Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:15.770Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:15.773Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-05-04T02:24:15.789Z INFO 92 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-05-04T02:24:15.792Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-05-04T02:24:15.801Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:15.806Z INFO 92 --- [ 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-04T02:24:16.079Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-05-04T02:24:16.149Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:17.050Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T02:24:17.234Z DEBUG 92 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T02:24:17.272Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T02:24:17.369Z DEBUG 92 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T02:24:17.689Z INFO 92 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T02:24:17.710Z INFO 92 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T02:24:17.796Z INFO 92 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 3.288 seconds (process running for 15.942) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:17.934Z INFO 92 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:17.935Z INFO 92 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:18.234Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:18.267Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 31 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:18.523Z INFO 92 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-05-04T02:24:18.547Z INFO 92 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-05-04T02:24:18.547Z INFO 92 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-05-04T02:24:18.610Z INFO 92 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-05-04T02:24:18.612Z INFO 92 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 675 ms 2026-05-04T02:24:18.704Z DEBUG 92 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T02:24:18.757Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:18.759Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:18.768Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:18.769Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-05-04T02:24:18.771Z INFO 92 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-05-04T02:24:18.771Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-05-04T02:24:18.772Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:18.772Z INFO 92 --- [ 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-04T02:24:19.005Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-05-04T02:24:19.075Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:19.350Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T02:24:19.386Z DEBUG 92 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T02:24:19.393Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T02:24:19.400Z DEBUG 92 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T02:24:19.459Z INFO 92 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T02:24:19.467Z INFO 92 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T02:24:19.508Z INFO 92 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 35895 (http) with context path '/api' 2026-05-04T02:24:19.516Z INFO 92 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.605 seconds (process running for 17.662) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.055 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.012 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-04T02:24:19.551Z INFO 92 --- [ 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-04T02:24:19.570Z INFO 92 --- [ 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-04T02:24:19.581Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:24:19.727Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:24:19.737Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios 2026-05-04T02:24:19.753Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:24:19.756Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:24:19.758Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 2 2026-05-04T02:24:19.760Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 2 2026-05-04T02:24:19.767Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:24:19.771Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:24:19.779Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:24:19.782Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:24:19.786Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 4 2026-05-04T02:24:19.792Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 4 2026-05-04T02:24:19.793Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-04T02:24:19.801Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:24:19.804Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:24:19.806Z INFO 92 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 5 2026-05-04T02:24:19.810Z INFO 92 --- [ 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.266 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-04T02:24:19.829Z INFO 92 --- [ 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-04T02:24:19.831Z INFO 92 --- [ 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-04T02:24:19.852Z INFO 92 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Starting PetControllerTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:19.852Z INFO 92 --- [ main] c.e.u.m.p.controllers.PetControllerTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:19.853Z DEBUG 92 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@d58fa2 2026-05-04T02:24:20.101Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:20.128Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:20.219Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:20.221Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:20.228Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:20.229Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2026-05-04T02:24:20.231Z INFO 92 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA 2026-05-04T02:24:20.231Z INFO 92 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2026-05-04T02:24:20.231Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:20.232Z INFO 92 --- [ 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-04T02:24:20.409Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-05-04T02:24:20.458Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:20.717Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T02:24:20.747Z DEBUG 92 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T02:24:20.753Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T02:24:20.758Z DEBUG 92 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T02:24:20.828Z INFO 92 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T02:24:20.847Z DEBUG 92 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T02:24:20.849Z INFO 92 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-04T02:24:20.849Z INFO 92 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-04T02:24:20.852Z INFO 92 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T02:24:20.857Z INFO 92 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 8 ms 2026-05-04T02:24:20.890Z INFO 92 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Started PetControllerTest in 1.056 seconds (process running for 19.037) 2026-05-04T02:24:21.013Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T02:24:21.093Z DEBUG 92 --- [ 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-04T02:24:21.146Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-05-04T02:24:21.169Z DEBUG 92 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2026-05-04T02:24:21.170Z DEBUG 92 --- [ 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-04T02:24:21.251Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T02:24:21.253Z DEBUG 92 --- [ 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-04T02:24:21.262Z DEBUG 92 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T02:24:21.283Z DEBUG 92 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T02:24:21.287Z DEBUG 92 --- [ 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-04T02:24:21.289Z DEBUG 92 --- [ 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 'name': rejected value [null]; codes [NotBlank.petDTO.name,NotBlank.name,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.name,name]; arguments []; default message [name]]; default message [Name is mandatory]] [Field error in object 'petDTO' on field '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 '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 '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 '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 'species': rejected value [null]; codes [NotBlank.petDTO.species,NotBlank.species,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.species,species]; arguments []; default message [species]]; default message [Species is mandatory]] ] 2026-05-04T02:24:21.300Z DEBUG 92 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T02:24:21.301Z DEBUG 92 --- [ 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-04T02:24:21.302Z DEBUG 92 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T02:24:21.303Z DEBUG 92 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T02:24:21.303Z DEBUG 92 --- [ 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-04T02:24:21.304Z DEBUG 92 --- [ 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 '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 '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 '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]] ] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.481 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-04T02:24:21.311Z INFO 92 --- [ 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-04T02:24:21.313Z INFO 92 --- [ 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-04T02:24:21.318Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.322Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.326Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.328Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.330Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:24:21.331Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:24:21.333Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes 2026-05-04T02:24:21.344Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.347Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.348Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.351Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.352Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:24:21.353Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:24:21.354Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 2 2026-05-04T02:24:21.355Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 2 2026-05-04T02:24:21.361Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.364Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.365Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.368Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.369Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:24:21.370Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:24:21.377Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.380Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.382Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.384Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.386Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:24:21.386Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:24:21.388Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 2026-05-04T02:24:21.388Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 4 2026-05-04T02:24:21.389Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 4 2026-05-04T02:24:21.395Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.398Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.399Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.401Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.403Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:24:21.403Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:24:21.405Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 5 2026-05-04T02:24:21.405Z INFO 92 --- [ 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-04T02:24:21.411Z INFO 92 --- [ 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-04T02:24:21.412Z INFO 92 --- [ 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-04T02:24:21.417Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.419Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.421Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:21.422Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:24:21.424Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones 2026-05-04T02:24:21.434Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.437Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.439Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:21.439Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:24:21.440Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 2 2026-05-04T02:24:21.441Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 2 2026-05-04T02:24:21.447Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.450Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.451Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:21.452Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:24:21.459Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.461Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.463Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:21.463Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:24:21.465Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 4 2026-05-04T02:24:21.466Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 4 2026-05-04T02:24:21.467Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 4 2026-05-04T02:24:21.474Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.476Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.478Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:21.478Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:24:21.479Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 5 2026-05-04T02:24:21.480Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 5 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-04T02:24:21.485Z INFO 92 --- [ 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-04T02:24:21.486Z INFO 92 --- [ 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-04T02:24:21.491Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.494Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.502Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.504Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.506Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes 2026-05-04T02:24:21.515Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.517Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.519Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 18 2026-05-04T02:24:21.520Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 18 2026-05-04T02:24:21.525Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.528Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.529Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 19 2026-05-04T02:24:21.530Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 19 2026-05-04T02:24:21.531Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 19 2026-05-04T02:24:21.537Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:21.540Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:24:21.541Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 2026-05-04T02:24:21.544Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s -- in co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-05-04T02:24:21.559Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:21.573Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:21.589Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Starting AdopterServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:21.590Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:21.651Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:21.693Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 40 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:21.710Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:21.724Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:3cc324bd-72b7-4c7c-9dab-79a8704ce960;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:21.742Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:21.744Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:21.754Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:21.755Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:21.756Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@247d501f'] 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-04T02:24:21.947Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:21.988Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:22.142Z INFO 92 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.566 seconds (process running for 20.289) 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-04T02:24:22.230Z INFO 92 --- [ 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-04T02:24:22.274Z INFO 92 --- [ 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-04T02:24:22.316Z INFO 92 --- [ 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-04T02:24:22.378Z INFO 92 --- [ 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-04T02:24:22.381Z INFO 92 --- [ 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-04T02:24:22.426Z INFO 92 --- [ 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-04T02:24:22.468Z INFO 92 --- [ 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-04T02:24:22.509Z INFO 92 --- [ 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-04T02:24:22.512Z INFO 92 --- [ 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-04T02:24:22.548Z INFO 92 --- [ 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-04T02:24:22.588Z INFO 92 --- [ 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-04T02:24:22.621Z INFO 92 --- [ 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-04T02:24:22.666Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:22.673Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:24:22.681Z INFO 92 --- [ 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-04T02:24:22.727Z INFO 92 --- [ 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-04T02:24:22.752Z INFO 92 --- [ 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-04T02:24:22.780Z INFO 92 --- [ 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-04T02:24:22.784Z INFO 92 --- [ 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-04T02:24:22.816Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-05-04T02:24:22.817Z INFO 92 --- [ 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-04T02:24:22.846Z INFO 92 --- [ 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-04T02:24:22.874Z INFO 92 --- [ 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-04T02:24:22.898Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-05-04T02:24:22.899Z INFO 92 --- [ 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.343 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-05-04T02:24:22.904Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:22.909Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:22.926Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:22.926Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:22.992Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:23.016Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:23.029Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:23.039Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e46f301b-ebd6-4ed5-b0a5-77d88ade643c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:23.055Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:23.056Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:23.066Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:23.067Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:23.067Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5edef27e'] 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-04T02:24:23.244Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:23.279Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:23.422Z INFO 92 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.511 seconds (process running for 21.569) 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.703 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-05-04T02:24:23.608Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:23.613Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:23.631Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:23.632Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:23.693Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:23.719Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:23.732Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:23.742Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4672843a-5b84-45f1-b294-e0876588d2c3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:23.758Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:23.760Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:23.766Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:23.768Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:23.768Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2ecb5ee5'] 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-04T02:24:23.917Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:23.949Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:24.132Z INFO 92 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.517 seconds (process running for 22.278) 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-04T02:24:24.174Z INFO 92 --- [ 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-04T02:24:24.211Z INFO 92 --- [ 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-04T02:24:24.252Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-05-04T02:24:24.253Z INFO 92 --- [ 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-04T02:24:24.281Z INFO 92 --- [ 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-04T02:24:24.304Z INFO 92 --- [ 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-04T02:24:24.329Z INFO 92 --- [ 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-04T02:24:24.355Z INFO 92 --- [ 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-04T02:24:24.381Z INFO 92 --- [ 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-04T02:24:24.410Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-05-04T02:24:24.411Z INFO 92 --- [ 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-04T02:24:24.435Z INFO 92 --- [ 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-04T02:24:24.477Z INFO 92 --- [ 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-04T02:24:24.500Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:24:24.500Z INFO 92 --- [ 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-04T02:24:24.524Z INFO 92 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-05-04T02:24:24.524Z INFO 92 --- [ 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-04T02:24:24.548Z INFO 92 --- [ 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-04T02:24:24.571Z INFO 92 --- [ 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.966 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-05-04T02:24:24.576Z INFO 92 --- [ 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-04T02:24:24.580Z INFO 92 --- [ 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-04T02:24:24.596Z INFO 92 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Starting SpecialityServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:24.596Z INFO 92 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:24.655Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:24.677Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:24.688Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:24.697Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:848018b5-4466-41f5-9641-becbc8b2ff6b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:24.712Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:24.714Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:24.721Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:24.722Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:24.723Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6f584f53'] 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-04T02:24:24.859Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:24.888Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:25.019Z INFO 92 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.436 seconds (process running for 23.165) 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-04T02:24:25.100Z INFO 92 --- [ 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-04T02:24:25.181Z INFO 92 --- [ 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-04T02:24:25.248Z INFO 92 --- [ 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-04T02:24:25.381Z INFO 92 --- [ 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-04T02:24:25.475Z INFO 92 --- [ 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-04T02:24:25.547Z INFO 92 --- [ 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-04T02:24:25.603Z INFO 92 --- [ 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-04T02:24:25.657Z INFO 92 --- [ 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-04T02:24:25.753Z INFO 92 --- [ 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-04T02:24:25.854Z INFO 92 --- [ 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-04T02:24:25.953Z INFO 92 --- [ 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-04T02:24:26.049Z INFO 92 --- [ 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-04T02:24:26.138Z INFO 92 --- [ 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-04T02:24:26.213Z INFO 92 --- [ 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-04T02:24:26.264Z INFO 92 --- [ 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-04T02:24:26.325Z INFO 92 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.752 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-05-04T02:24:26.330Z INFO 92 --- [ 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-04T02:24:26.337Z INFO 92 --- [ 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-04T02:24:26.354Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:26.354Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:26.419Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:26.441Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:26.453Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:26.462Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:833ed803-8294-4728-9012-3184ff2735d8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:26.478Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:26.479Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:26.487Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:26.488Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:26.489Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@49fd546e'] 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-04T02:24:26.626Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:26.656Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:26.786Z INFO 92 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.447 seconds (process running for 24.933) 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-04T02:24:26.800Z INFO 92 --- [ 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-04T02:24:26.844Z INFO 92 --- [ 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-04T02:24:26.857Z INFO 92 --- [ 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-04T02:24:26.870Z INFO 92 --- [ 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-04T02:24:26.883Z INFO 92 --- [ 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-04T02:24:26.898Z INFO 92 --- [ 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-04T02:24:26.912Z INFO 92 --- [ 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-04T02:24:26.922Z INFO 92 --- [ 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-04T02:24:26.934Z INFO 92 --- [ 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-04T02:24:26.944Z INFO 92 --- [ 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-04T02:24:26.957Z INFO 92 --- [ 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-04T02:24:26.969Z INFO 92 --- [ 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-04T02:24:26.983Z INFO 92 --- [ 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-04T02:24:26.994Z INFO 92 --- [ 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-04T02:24:27.006Z INFO 92 --- [ 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.680 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-05-04T02:24:27.013Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:27.017Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:27.031Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:27.031Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:27.089Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:27.112Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:27.124Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:27.133Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:3f108d75-415a-494c-b952-43b03286352f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:27.147Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:27.149Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:27.155Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:27.157Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:27.157Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@e6da5ca'] 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-04T02:24:27.286Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:27.311Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:27.478Z INFO 92 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.459 seconds (process running for 25.625) 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-04T02:24:27.497Z INFO 92 --- [ 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-04T02:24:27.516Z INFO 92 --- [ 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-04T02:24:27.533Z INFO 92 --- [ 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-04T02:24:27.550Z INFO 92 --- [ 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-04T02:24:27.566Z INFO 92 --- [ 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-04T02:24:27.582Z INFO 92 --- [ 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-04T02:24:27.598Z INFO 92 --- [ 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-04T02:24:27.613Z INFO 92 --- [ 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-04T02:24:27.628Z INFO 92 --- [ 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-04T02:24:27.643Z INFO 92 --- [ 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-04T02:24:27.658Z INFO 92 --- [ 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-04T02:24:27.676Z INFO 92 --- [ 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-04T02:24:27.698Z INFO 92 --- [ 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.688 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-05-04T02:24:27.703Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:27.707Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:27.721Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:27.721Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:27.778Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:27.800Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:27.812Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:27.820Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:73a715db-04a8-43f2-bff5-a1c7226152d3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:27.835Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:27.836Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:27.843Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:27.844Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:27.845Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@12846cb'] 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-04T02:24:27.969Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:27.993Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:28.120Z INFO 92 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.411 seconds (process running for 26.267) 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-04T02:24:28.144Z INFO 92 --- [ 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-04T02:24:28.166Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-05-04T02:24:28.166Z INFO 92 --- [ 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-04T02:24:28.187Z INFO 92 --- [ 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-04T02:24:28.221Z INFO 92 --- [ 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-04T02:24:28.245Z INFO 92 --- [ 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-04T02:24:28.266Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-05-04T02:24:28.266Z INFO 92 --- [ 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-04T02:24:28.287Z INFO 92 --- [ 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-04T02:24:28.310Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:28.310Z INFO 92 --- [ 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-04T02:24:28.333Z INFO 92 --- [ 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-04T02:24:28.354Z INFO 92 --- [ 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-04T02:24:28.376Z INFO 92 --- [ 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-04T02:24:28.398Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:24:28.398Z INFO 92 --- [ 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-04T02:24:28.449Z INFO 92 --- [ 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-04T02:24:28.473Z INFO 92 --- [ 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-04T02:24:28.497Z INFO 92 --- [ 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-04T02:24:28.517Z INFO 92 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-05-04T02:24:28.518Z INFO 92 --- [ 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.819 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-05-04T02:24:28.523Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:28.527Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:28.541Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:28.541Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:28.598Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:28.619Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:28.630Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:28.639Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:246648b8-698f-4c72-a4e1-da250764319d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:28.653Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:28.654Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:28.661Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:28.662Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:28.662Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@394189dd'] 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-04T02:24:28.782Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:28.807Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:28.933Z INFO 92 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.404 seconds (process running for 27.08) 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-04T02:24:28.958Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-05-04T02:24:28.958Z INFO 92 --- [ 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-04T02:24:28.983Z INFO 92 --- [ 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-04T02:24:29.009Z INFO 92 --- [ 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-04T02:24:29.033Z INFO 92 --- [ 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-04T02:24:29.059Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-05-04T02:24:29.060Z INFO 92 --- [ 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-04T02:24:29.082Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-05-04T02:24:29.083Z INFO 92 --- [ 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-04T02:24:29.105Z INFO 92 --- [ 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-04T02:24:29.128Z INFO 92 --- [ 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-04T02:24:29.154Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-05-04T02:24:29.154Z INFO 92 --- [ 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-04T02:24:29.177Z INFO 92 --- [ 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-04T02:24:29.201Z INFO 92 --- [ 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.683 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-05-04T02:24:29.208Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:29.212Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:29.225Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Starting AdoptionServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:29.225Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:29.310Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:29.332Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:29.343Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:29.351Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0c741797-43da-4694-8e5b-d3c682af6813;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:29.365Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:29.367Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:29.375Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:29.376Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:29.376Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@ac5031e'] 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-04T02:24:29.496Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:29.520Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:29.642Z INFO 92 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.428 seconds (process running for 27.789) 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-04T02:24:29.652Z INFO 92 --- [ 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-04T02:24:29.664Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-05-04T02:24:29.664Z INFO 92 --- [ 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-04T02:24:29.673Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-05-04T02:24:29.673Z INFO 92 --- [ 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-04T02:24:29.681Z INFO 92 --- [ 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-04T02:24:29.691Z INFO 92 --- [ 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-04T02:24:29.702Z INFO 92 --- [ 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-04T02:24:29.710Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-05-04T02:24:29.710Z INFO 92 --- [ 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-04T02:24:29.717Z INFO 92 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-05-04T02:24:29.719Z INFO 92 --- [ 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-04T02:24:29.729Z INFO 92 --- [ 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-04T02:24:29.737Z INFO 92 --- [ 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-04T02:24:29.744Z INFO 92 --- [ 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.541 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-05-04T02:24:29.751Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:29.756Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:29.769Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Starting ShelterServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:29.769Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:29.825Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:29.846Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:29.858Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:29.866Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2e44d662-fe9e-4288-98ad-7161fee934ff;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:29.880Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:29.882Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:29.888Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:29.889Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:29.889Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@15dc2dd2'] 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-04T02:24:30.004Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:30.025Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:30.146Z INFO 92 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.388 seconds (process running for 28.293) 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-04T02:24:30.161Z INFO 92 --- [ 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-04T02:24:30.176Z INFO 92 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-1161380790265286 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-04T02:24:30.190Z INFO 92 --- [ 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-04T02:24:30.203Z INFO 92 --- [ 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-04T02:24:30.215Z INFO 92 --- [ 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-04T02:24:30.232Z INFO 92 --- [ 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-04T02:24:30.252Z INFO 92 --- [ 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-04T02:24:30.268Z INFO 92 --- [ 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-04T02:24:30.279Z INFO 92 --- [ 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-04T02:24:30.293Z INFO 92 --- [ 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-04T02:24:30.307Z INFO 92 --- [ 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-04T02:24:30.321Z INFO 92 --- [ 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-04T02:24:30.335Z INFO 92 --- [ 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-04T02:24:30.346Z INFO 92 --- [ 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-04T02:24:30.358Z INFO 92 --- [ 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-04T02:24:30.373Z INFO 92 --- [ 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-04T02:24:30.386Z INFO 92 --- [ 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-04T02:24:30.397Z INFO 92 --- [ 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-04T02:24:30.408Z INFO 92 --- [ 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-04T02:24:30.425Z INFO 92 --- [ 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-04T02:24:30.436Z INFO 92 --- [ 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.689 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-05-04T02:24:30.441Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:30.445Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:30.459Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Starting PetServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:30.459Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:30.514Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:30.535Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:30.545Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:30.553Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4306e168-20f3-4dab-a177-502b7160f913;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:30.567Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:30.569Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:30.575Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:30.576Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:30.577Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@54e5a283'] 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-04T02:24:30.687Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:30.707Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:30.860Z INFO 92 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.412 seconds (process running for 29.007) 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-04T02:24:30.958Z INFO 92 --- [ 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-04T02:24:31.009Z INFO 92 --- [ 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-04T02:24:31.058Z INFO 92 --- [ 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.624 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-05-04T02:24:31.066Z INFO 92 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-05-04T02:24:31.070Z INFO 92 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:24:31.083Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Starting VeterinarianServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:31.083Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:31.137Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:31.158Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:31.168Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:31.176Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:728f84bf-d463-45aa-9d69-661b542f27cf;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:31.190Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:31.191Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:31.198Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:31.199Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:31.199Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@217ce431'] 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-04T02:24:31.309Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:31.330Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:31.447Z INFO 92 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.375 seconds (process running for 29.594) 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-04T02:24:31.505Z INFO 92 --- [ 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-04T02:24:31.595Z INFO 92 --- [ 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-04T02:24:31.651Z INFO 92 --- [ 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-04T02:24:31.707Z INFO 92 --- [ 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-04T02:24:31.764Z INFO 92 --- [ 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-04T02:24:31.817Z INFO 92 --- [ 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-04T02:24:31.891Z INFO 92 --- [ 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-04T02:24:31.970Z INFO 92 --- [ 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-04T02:24:32.034Z INFO 92 --- [ 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-04T02:24:32.095Z INFO 92 --- [ 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-04T02:24:32.166Z INFO 92 --- [ 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-04T02:24:32.235Z INFO 92 --- [ 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-04T02:24:32.321Z INFO 92 --- [ 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-04T02:24:32.385Z INFO 92 --- [ 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-04T02:24:32.455Z INFO 92 --- [ 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-04T02:24:32.510Z INFO 92 --- [ 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-04T02:24:32.574Z INFO 92 --- [ 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.512 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-05-04T02:24:32.579Z INFO 92 --- [ 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-04T02:24:32.584Z INFO 92 --- [ 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-04T02:24:32.599Z INFO 92 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 92 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:32.599Z INFO 92 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:32.655Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:32.676Z INFO 92 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:32.687Z INFO 92 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:32.695Z INFO 92 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:008a510e-f9bd-461b-bba0-20d5daba11a2;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:32.709Z INFO 92 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:32.711Z INFO 92 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:32.719Z INFO 92 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:32.720Z WARN 92 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-05-04T02:24:32.720Z INFO 92 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@67de3dbb'] 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-04T02:24:32.836Z INFO 92 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_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-04T02:24:32.855Z INFO 92 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:32.971Z INFO 92 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.385 seconds (process running for 31.118) 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 02:24:47.317 [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. 02:24:47.565 [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-04T02:24:48.354Z INFO 72 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:48.356Z INFO 72 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:48.965Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:49.123Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 141 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:49.233Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:24:49.376Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:3d3b3c67-3aba-4477-9623-628bfb2da151;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:24:50.042Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:50.142Z INFO 72 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.44.Final 2026-05-04T02:24:50.196Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:50.702Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:50.808Z WARN 72 --- [ 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-04T02:24:50.854Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@63fa0b9'] 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-04T02:24:53.254Z INFO 72 --- [ 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-04T02:24:53.416Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:54.036Z INFO 72 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-05-04T02:24:55.612Z INFO 72 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 7.912 seconds (process running for 9.907) 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.363 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-05-04T02:24:56.386Z INFO 72 --- [ 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-04T02:24:56.400Z INFO 72 --- [ 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.138 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-05-04T02:24:56.526Z INFO 72 --- [ 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-04T02:24:56.542Z INFO 72 --- [ 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.082 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-05-04T02:24:56.611Z INFO 72 --- [ 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-04T02:24:56.630Z INFO 72 --- [ 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.088 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-05-04T02:24:56.703Z INFO 72 --- [ 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-04T02:24:56.711Z INFO 72 --- [ 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.044 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-05-04T02:24:56.747Z INFO 72 --- [ 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-04T02:24:56.756Z INFO 72 --- [ 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-04T02:24:56.798Z INFO 72 --- [ 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-04T02:24:56.806Z INFO 72 --- [ 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.176 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-05-04T02:24:56.976Z INFO 72 --- [ 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-04T02:24:56.984Z INFO 72 --- [ 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.089 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest 2026-05-04T02:24:57.065Z INFO 72 --- [ 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-04T02:24:57.084Z INFO 72 --- [ 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.085 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-05-04T02:24:57.152Z INFO 72 --- [ 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-04T02:24:57.160Z INFO 72 --- [ 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.048 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-05-04T02:24:57.203Z INFO 72 --- [ 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-04T02:24:57.213Z INFO 72 --- [ 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.072 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-05-04T02:24:57.277Z INFO 72 --- [ 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-04T02:24:57.284Z INFO 72 --- [ 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.037 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-05-04T02:24:57.326Z INFO 72 --- [ 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-04T02:24:57.339Z INFO 72 --- [ 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-04T02:24:57.410Z INFO 72 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Starting MainApplicationTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:24:57.410Z INFO 72 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:24:57.412Z DEBUG 72 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@1bb8d137 2026-05-04T02:24:58.196Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:24:58.232Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 34 ms. Found 21 JPA repository interfaces. 2026-05-04T02:24:58.632Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:24:58.634Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:24:58.644Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:24:58.646Z INFO 72 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-05-04T02:24:58.662Z INFO 72 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-05-04T02:24:58.665Z INFO 72 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-05-04T02:24:58.674Z WARN 72 --- [ 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-04T02:24:58.680Z INFO 72 --- [ 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-04T02:24:58.961Z INFO 72 --- [ 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-04T02:24:59.026Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:24:59.919Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T02:25:00.115Z DEBUG 72 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T02:25:00.154Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T02:25:00.233Z DEBUG 72 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T02:25:00.548Z INFO 72 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T02:25:00.569Z INFO 72 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T02:25:00.655Z INFO 72 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 3.297 seconds (process running for 14.949) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.12) 2026-05-04T02:25:00.792Z INFO 72 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:00.792Z INFO 72 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:01.083Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:01.115Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 30 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:01.372Z INFO 72 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-05-04T02:25:01.395Z INFO 72 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-05-04T02:25:01.396Z INFO 72 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-05-04T02:25:01.459Z INFO 72 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-05-04T02:25:01.460Z INFO 72 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 665 ms 2026-05-04T02:25:01.569Z DEBUG 72 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T02:25:01.610Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:01.612Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:01.620Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:01.621Z INFO 72 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-05-04T02:25:01.623Z INFO 72 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-05-04T02:25:01.623Z INFO 72 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-05-04T02:25:01.624Z WARN 72 --- [ 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-04T02:25:01.624Z INFO 72 --- [ 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-04T02:25:01.856Z INFO 72 --- [ 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-04T02:25:01.924Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:02.199Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T02:25:02.235Z DEBUG 72 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T02:25:02.241Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T02:25:02.248Z DEBUG 72 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T02:25:02.307Z INFO 72 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T02:25:02.315Z INFO 72 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T02:25:02.357Z INFO 72 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 38429 (http) with context path '/api' 2026-05-04T02:25:02.365Z INFO 72 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.597 seconds (process running for 16.66) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.056 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.007 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest 2026-05-04T02:25:02.396Z INFO 72 --- [ 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-04T02:25:02.411Z INFO 72 --- [ 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-04T02:25:02.425Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:25:02.572Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:25:02.583Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios 2026-05-04T02:25:02.602Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:25:02.606Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:25:02.609Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 2 2026-05-04T02:25:02.611Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 2 2026-05-04T02:25:02.619Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:25:02.637Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:25:02.650Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:25:02.654Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:25:02.656Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 4 2026-05-04T02:25:02.663Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 4 2026-05-04T02:25:02.665Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-05-04T02:25:02.673Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario 2026-05-04T02:25:02.676Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario 2026-05-04T02:25:02.679Z INFO 72 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 5 2026-05-04T02:25:02.682Z INFO 72 --- [ 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.294 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.013 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.PetControllerTest 2026-05-04T02:25:02.711Z INFO 72 --- [ 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-04T02:25:02.715Z INFO 72 --- [ 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-04T02:25:02.737Z INFO 72 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Starting PetControllerTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:02.738Z INFO 72 --- [ main] c.e.u.m.p.controllers.PetControllerTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:02.739Z DEBUG 72 --- [ main] o.s.w.c.s.GenericWebApplicationContext : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@45e42125 2026-05-04T02:25:02.987Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:03.018Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 29 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:03.150Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:03.152Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:03.161Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:03.161Z INFO 72 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Starting... 2026-05-04T02:25:03.163Z INFO 72 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA 2026-05-04T02:25:03.163Z INFO 72 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-3 - Start completed. 2026-05-04T02:25:03.163Z WARN 72 --- [ 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-04T02:25:03.164Z INFO 72 --- [ 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-04T02:25:03.464Z INFO 72 --- [ 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-04T02:25:03.515Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:03.772Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping' 2026-05-04T02:25:03.801Z DEBUG 72 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Patterns [/webjars/**, /**] in 'resourceHandlerMapping' 2026-05-04T02:25:03.806Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice 2026-05-04T02:25:03.830Z DEBUG 72 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice 2026-05-04T02:25:03.933Z INFO 72 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-05-04T02:25:03.967Z DEBUG 72 --- [ main] o.s.w.f.ServerHttpObservationFilter : Filter 'webMvcObservationFilter' configured for use 2026-05-04T02:25:03.968Z INFO 72 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-04T02:25:03.968Z INFO 72 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-04T02:25:03.971Z INFO 72 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-05-04T02:25:03.977Z INFO 72 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 8 ms 2026-05-04T02:25:04.019Z INFO 72 --- [ main] c.e.u.m.p.controllers.PetControllerTest : Started PetControllerTest in 1.301 seconds (process running for 18.313) 2026-05-04T02:25:04.145Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T02:25:04.249Z DEBUG 72 --- [ 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-04T02:25:04.311Z INFO 72 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-05-04T02:25:04.333Z DEBUG 72 --- [ main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json] 2026-05-04T02:25:04.334Z DEBUG 72 --- [ 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-04T02:25:04.429Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T02:25:04.430Z DEBUG 72 --- [ 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-04T02:25:04.440Z DEBUG 72 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T02:25:04.467Z DEBUG 72 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T02:25:04.471Z DEBUG 72 --- [ 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-04T02:25:04.473Z DEBUG 72 --- [ 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 '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 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] [Field error in object 'petDTO' on field 'name': rejected value [null]; codes [NotBlank.petDTO.name,NotBlank.name,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.name,name]; arguments []; default message [name]]; default message [Name is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'species': rejected value [null]; codes [NotBlank.petDTO.species,NotBlank.species,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.species,species]; arguments []; default message [species]]; default message [Species is mandatory]] [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]] ] 2026-05-04T02:25:04.486Z DEBUG 72 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO) 2026-05-04T02:25:04.487Z DEBUG 72 --- [ 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-04T02:25:04.489Z DEBUG 72 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest) 2026-05-04T02:25:04.489Z DEBUG 72 --- [ main] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/problem+json', given [*/*] and supported [application/problem+json] 2026-05-04T02:25:04.490Z DEBUG 72 --- [ 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-04T02:25:04.490Z DEBUG 72 --- [ main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 5 errors: [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field '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 '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]] ] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.788 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest 2026-05-04T02:25:04.501Z INFO 72 --- [ 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-04T02:25:04.506Z INFO 72 --- [ 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-04T02:25:04.515Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.520Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.524Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.527Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.529Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:25:04.532Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:25:04.534Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes 2026-05-04T02:25:04.548Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.551Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.553Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.556Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.559Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:25:04.560Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:25:04.561Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 2 2026-05-04T02:25:04.562Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 2 2026-05-04T02:25:04.571Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.574Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.576Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.579Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.582Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:25:04.583Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:25:04.596Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.601Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.606Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.611Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.613Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:25:04.615Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:25:04.618Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 2026-05-04T02:25:04.618Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 4 2026-05-04T02:25:04.619Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 4 2026-05-04T02:25:04.628Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.631Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.633Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.637Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.639Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:25:04.642Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje 2026-05-04T02:25:04.645Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 5 2026-05-04T02:25:04.647Z INFO 72 --- [ 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.154 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest 2026-05-04T02:25:04.658Z INFO 72 --- [ 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-04T02:25:04.659Z INFO 72 --- [ 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-04T02:25:04.667Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.670Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.672Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:04.673Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:25:04.675Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones 2026-05-04T02:25:04.687Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.692Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.696Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:04.699Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:25:04.700Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 2 2026-05-04T02:25:04.701Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 2 2026-05-04T02:25:04.712Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.715Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.717Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:04.717Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:25:04.725Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.731Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.735Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:04.737Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:25:04.741Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 4 2026-05-04T02:25:04.743Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 4 2026-05-04T02:25:04.745Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 4 2026-05-04T02:25:04.763Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.770Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.772Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:04.773Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación 2026-05-04T02:25:04.774Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 5 2026-05-04T02:25:04.774Z INFO 72 --- [ 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.122 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest 2026-05-04T02:25:04.781Z INFO 72 --- [ 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-04T02:25:04.782Z INFO 72 --- [ 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-04T02:25:04.792Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.797Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.805Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.808Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.810Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes 2026-05-04T02:25:04.825Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.827Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.829Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 18 2026-05-04T02:25:04.830Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 18 2026-05-04T02:25:04.836Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.838Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.840Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 19 2026-05-04T02:25:04.840Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 19 2026-05-04T02:25:04.841Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 19 2026-05-04T02:25:04.848Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:04.850Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante 2026-05-04T02:25:04.852Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 2026-05-04T02:25:04.855Z INFO 72 --- [ 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.080 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.003 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-05-04T02:25:04.873Z INFO 72 --- [ 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-04T02:25:04.892Z INFO 72 --- [ 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-04T02:25:04.916Z INFO 72 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Starting AdopterServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:04.917Z INFO 72 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:05.021Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:05.046Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:05.060Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:05.070Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:968af220-10f5-474b-a0f8-de932eabb349;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:05.087Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:05.088Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:05.096Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:05.097Z WARN 72 --- [ 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-04T02:25:05.098Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@16d4cfa6'] 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-04T02:25:05.263Z INFO 72 --- [ 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-04T02:25:05.302Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:05.444Z INFO 72 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.548 seconds (process running for 19.739) 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-04T02:25:05.548Z INFO 72 --- [ 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-04T02:25:05.586Z INFO 72 --- [ 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-04T02:25:05.622Z INFO 72 --- [ 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-04T02:25:05.659Z INFO 72 --- [ 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-04T02:25:05.662Z INFO 72 --- [ 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-04T02:25:05.693Z INFO 72 --- [ 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-04T02:25:05.721Z INFO 72 --- [ 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-04T02:25:05.749Z INFO 72 --- [ 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-04T02:25:05.752Z INFO 72 --- [ 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-04T02:25:05.800Z INFO 72 --- [ 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-04T02:25:05.828Z INFO 72 --- [ 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-04T02:25:05.852Z INFO 72 --- [ 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-04T02:25:05.883Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:05.887Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-05-04T02:25:05.891Z INFO 72 --- [ 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-04T02:25:05.914Z INFO 72 --- [ 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-04T02:25:05.937Z INFO 72 --- [ 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-04T02:25:05.964Z INFO 72 --- [ 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-04T02:25:05.967Z INFO 72 --- [ 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-04T02:25:05.996Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-05-04T02:25:05.997Z INFO 72 --- [ 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-04T02:25:06.024Z INFO 72 --- [ 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-04T02:25:06.063Z INFO 72 --- [ 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-04T02:25:06.109Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-05-04T02:25:06.110Z INFO 72 --- [ 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.242 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-05-04T02:25:06.122Z INFO 72 --- [ 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-04T02:25:06.136Z INFO 72 --- [ 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-04T02:25:06.170Z INFO 72 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:06.170Z INFO 72 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:06.269Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:06.294Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:06.307Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:06.317Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a0c4c6f8-7311-4f49-bd41-c3f0ad0be05a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:06.335Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:06.336Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:06.345Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:06.347Z WARN 72 --- [ 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-04T02:25:06.347Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7b874d79'] 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-04T02:25:06.508Z INFO 72 --- [ 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-04T02:25:06.543Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:06.681Z INFO 72 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.542 seconds (process running for 20.975) 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.740 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-05-04T02:25:06.858Z INFO 72 --- [ 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-04T02:25:06.863Z INFO 72 --- [ 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-04T02:25:06.878Z INFO 72 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:06.878Z INFO 72 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:06.951Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:06.974Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:06.987Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:06.996Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cae0d4c4-9216-4064-958d-46a395f7bdc7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:07.012Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:07.013Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:07.020Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:07.022Z WARN 72 --- [ 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-04T02:25:07.022Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@28367bd5'] 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-04T02:25:07.164Z INFO 72 --- [ 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-04T02:25:07.200Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:07.327Z INFO 72 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.461 seconds (process running for 21.621) 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-04T02:25:07.354Z INFO 72 --- [ 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-04T02:25:07.377Z INFO 72 --- [ 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-04T02:25:07.403Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-05-04T02:25:07.404Z INFO 72 --- [ 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-04T02:25:07.453Z INFO 72 --- [ 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-04T02:25:07.479Z INFO 72 --- [ 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-04T02:25:07.501Z INFO 72 --- [ 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-04T02:25:07.525Z INFO 72 --- [ 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-04T02:25:07.548Z INFO 72 --- [ 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-04T02:25:07.574Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-05-04T02:25:07.574Z INFO 72 --- [ 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-04T02:25:07.596Z INFO 72 --- [ 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-04T02:25:07.621Z INFO 72 --- [ 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-04T02:25:07.642Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-05-04T02:25:07.643Z INFO 72 --- [ 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-04T02:25:07.693Z INFO 72 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-05-04T02:25:07.694Z INFO 72 --- [ 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-04T02:25:07.737Z INFO 72 --- [ 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-04T02:25:07.774Z INFO 72 --- [ 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.919 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-05-04T02:25:07.780Z INFO 72 --- [ 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-04T02:25:07.786Z INFO 72 --- [ 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-04T02:25:07.805Z INFO 72 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Starting SpecialityServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:07.805Z INFO 72 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:07.884Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:07.930Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 44 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:07.951Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:07.963Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:51e526e3-f653-4508-ab81-f2c6de1f9814;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:07.980Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:07.982Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:07.989Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:07.991Z WARN 72 --- [ 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-04T02:25:07.991Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3927df20'] 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-04T02:25:08.133Z INFO 72 --- [ 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-04T02:25:08.161Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:08.287Z INFO 72 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.498 seconds (process running for 22.581) 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-04T02:25:08.346Z INFO 72 --- [ 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-04T02:25:08.426Z INFO 72 --- [ 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-04T02:25:08.479Z INFO 72 --- [ 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-04T02:25:08.545Z INFO 72 --- [ 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-04T02:25:08.595Z INFO 72 --- [ 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-04T02:25:08.655Z INFO 72 --- [ 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-04T02:25:08.730Z INFO 72 --- [ 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-04T02:25:08.793Z INFO 72 --- [ 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-04T02:25:08.845Z INFO 72 --- [ 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-04T02:25:08.907Z INFO 72 --- [ 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-04T02:25:08.981Z INFO 72 --- [ 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-04T02:25:09.033Z INFO 72 --- [ 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-04T02:25:09.132Z INFO 72 --- [ 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-04T02:25:09.254Z INFO 72 --- [ 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-04T02:25:09.349Z INFO 72 --- [ 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-04T02:25:09.466Z INFO 72 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.691 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-05-04T02:25:09.472Z INFO 72 --- [ 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-04T02:25:09.478Z INFO 72 --- [ 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-04T02:25:09.499Z INFO 72 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:09.499Z INFO 72 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:09.571Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:09.597Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:09.610Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:09.620Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0c0b9914-eeb5-4937-afe8-a2d2f0df1e6f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:09.637Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:09.639Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:09.648Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:09.649Z WARN 72 --- [ 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-04T02:25:09.649Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@23e8854f'] 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-04T02:25:09.808Z INFO 72 --- [ 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-04T02:25:09.839Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:09.983Z INFO 72 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.501 seconds (process running for 24.278) 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-04T02:25:10.001Z INFO 72 --- [ 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-04T02:25:10.042Z INFO 72 --- [ 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-04T02:25:10.053Z INFO 72 --- [ 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-04T02:25:10.064Z INFO 72 --- [ 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-04T02:25:10.075Z INFO 72 --- [ 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-04T02:25:10.088Z INFO 72 --- [ 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-04T02:25:10.099Z INFO 72 --- [ 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-04T02:25:10.108Z INFO 72 --- [ 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-04T02:25:10.119Z INFO 72 --- [ 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-04T02:25:10.128Z INFO 72 --- [ 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-04T02:25:10.139Z INFO 72 --- [ 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-04T02:25:10.149Z INFO 72 --- [ 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-04T02:25:10.161Z INFO 72 --- [ 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-04T02:25:10.171Z INFO 72 --- [ 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-04T02:25:10.181Z INFO 72 --- [ 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.713 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-05-04T02:25:10.185Z INFO 72 --- [ 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-04T02:25:10.190Z INFO 72 --- [ 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-04T02:25:10.203Z INFO 72 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:10.203Z INFO 72 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:10.280Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:10.301Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:10.312Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:10.320Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c7567e16-987d-4b5f-ac68-829e1bcff756;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:10.334Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:10.335Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:10.342Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:10.343Z WARN 72 --- [ 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-04T02:25:10.343Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7a142645'] 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-04T02:25:10.471Z INFO 72 --- [ 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-04T02:25:10.497Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:10.614Z INFO 72 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.422 seconds (process running for 24.908) 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-04T02:25:10.632Z INFO 72 --- [ 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-04T02:25:10.649Z INFO 72 --- [ 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-04T02:25:10.664Z INFO 72 --- [ 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-04T02:25:10.681Z INFO 72 --- [ 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-04T02:25:10.695Z INFO 72 --- [ 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-04T02:25:10.709Z INFO 72 --- [ 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-04T02:25:10.725Z INFO 72 --- [ 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-04T02:25:10.739Z INFO 72 --- [ 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-04T02:25:10.754Z INFO 72 --- [ 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-04T02:25:10.770Z INFO 72 --- [ 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-04T02:25:10.785Z INFO 72 --- [ 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-04T02:25:10.801Z INFO 72 --- [ 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-04T02:25:10.822Z INFO 72 --- [ 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.640 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-05-04T02:25:10.826Z INFO 72 --- [ 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-04T02:25:10.830Z INFO 72 --- [ 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-04T02:25:10.844Z INFO 72 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:10.844Z INFO 72 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:10.898Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:10.919Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:10.930Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:10.938Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b4da81e1-6654-4980-9ff2-87ccb7d83de0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:10.952Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:10.953Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:10.960Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:10.961Z WARN 72 --- [ 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-04T02:25:10.961Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@63297f96'] 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-04T02:25:11.086Z INFO 72 --- [ 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-04T02:25:11.110Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:11.225Z INFO 72 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.393 seconds (process running for 25.519) 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-04T02:25:11.248Z INFO 72 --- [ 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-04T02:25:11.267Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-05-04T02:25:11.267Z INFO 72 --- [ 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-04T02:25:11.288Z INFO 72 --- [ 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-04T02:25:11.310Z INFO 72 --- [ 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-04T02:25:11.332Z INFO 72 --- [ 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-04T02:25:11.350Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-05-04T02:25:11.350Z INFO 72 --- [ 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-04T02:25:11.369Z INFO 72 --- [ 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-04T02:25:11.390Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:11.390Z INFO 72 --- [ 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-04T02:25:11.409Z INFO 72 --- [ 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-04T02:25:11.429Z INFO 72 --- [ 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-04T02:25:11.448Z INFO 72 --- [ 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-04T02:25:11.467Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-05-04T02:25:11.467Z INFO 72 --- [ 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-04T02:25:11.514Z INFO 72 --- [ 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-04T02:25:11.535Z INFO 72 --- [ 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-04T02:25:11.556Z INFO 72 --- [ 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-04T02:25:11.575Z INFO 72 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-05-04T02:25:11.575Z INFO 72 --- [ 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.753 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-05-04T02:25:11.580Z INFO 72 --- [ 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-04T02:25:11.584Z INFO 72 --- [ 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-04T02:25:11.596Z INFO 72 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:11.597Z INFO 72 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:11.650Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:11.670Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:11.681Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:11.689Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:40a82361-3d1c-4775-8a43-e2fa6bb60477;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:11.702Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:11.704Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:11.710Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:11.711Z WARN 72 --- [ 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-04T02:25:11.711Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1df7b11f'] 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-04T02:25:11.826Z INFO 72 --- [ 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-04T02:25:11.850Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:11.960Z INFO 72 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.374 seconds (process running for 26.254) 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-04T02:25:11.983Z INFO 72 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-05-04T02:25:11.983Z INFO 72 --- [ 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-04T02:25:12.005Z INFO 72 --- [ 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-04T02:25:12.029Z INFO 72 --- [ 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-04T02:25:12.051Z INFO 72 --- [ 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-04T02:25:12.076Z INFO 72 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-05-04T02:25:12.076Z INFO 72 --- [ 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-04T02:25:12.096Z INFO 72 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-05-04T02:25:12.097Z INFO 72 --- [ 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-04T02:25:12.118Z INFO 72 --- [ 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-04T02:25:12.139Z INFO 72 --- [ 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-04T02:25:12.161Z INFO 72 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-05-04T02:25:12.162Z INFO 72 --- [ 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-04T02:25:12.182Z INFO 72 --- [ 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-04T02:25:12.203Z INFO 72 --- [ 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.628 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-05-04T02:25:12.209Z INFO 72 --- [ 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-04T02:25:12.213Z INFO 72 --- [ 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-04T02:25:12.226Z INFO 72 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Starting AdoptionServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:12.226Z INFO 72 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:12.279Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:12.300Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:12.311Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:12.320Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d533280f-6312-49e3-a910-9c0cd736ebef;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:12.333Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:12.335Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:12.343Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:12.344Z WARN 72 --- [ 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-04T02:25:12.344Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2ac6ec8f'] 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-04T02:25:12.488Z INFO 72 --- [ 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-04T02:25:12.515Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:12.624Z INFO 72 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.409 seconds (process running for 26.918) 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-04T02:25:12.633Z INFO 72 --- [ 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-04T02:25:12.643Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-05-04T02:25:12.643Z INFO 72 --- [ 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-04T02:25:12.650Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-05-04T02:25:12.650Z INFO 72 --- [ 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-04T02:25:12.656Z INFO 72 --- [ 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-04T02:25:12.664Z INFO 72 --- [ 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-04T02:25:12.674Z INFO 72 --- [ 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-04T02:25:12.680Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-05-04T02:25:12.680Z INFO 72 --- [ 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-04T02:25:12.686Z INFO 72 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-05-04T02:25:12.687Z INFO 72 --- [ 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-04T02:25:12.696Z INFO 72 --- [ 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-04T02:25:12.703Z INFO 72 --- [ 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-04T02:25:12.709Z INFO 72 --- [ 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.504 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-05-04T02:25:12.714Z INFO 72 --- [ 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-04T02:25:12.718Z INFO 72 --- [ 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-04T02:25:12.731Z INFO 72 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Starting ShelterServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:12.731Z INFO 72 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:12.784Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:12.804Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:12.815Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:12.823Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7be996cf-55e4-46e7-934a-0b8bce91eff6;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:12.837Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:12.839Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:12.845Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:12.846Z WARN 72 --- [ 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-04T02:25:12.846Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@25a3f385'] 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-04T02:25:12.956Z INFO 72 --- [ 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-04T02:25:12.977Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:13.088Z INFO 72 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.368 seconds (process running for 27.382) 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-04T02:25:13.101Z INFO 72 --- [ 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-04T02:25:13.114Z INFO 72 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-1161423728982210 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-04T02:25:13.126Z INFO 72 --- [ 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-04T02:25:13.137Z INFO 72 --- [ 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-04T02:25:13.147Z INFO 72 --- [ 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-04T02:25:13.161Z INFO 72 --- [ 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-04T02:25:13.176Z INFO 72 --- [ 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-04T02:25:13.189Z INFO 72 --- [ 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-04T02:25:13.199Z INFO 72 --- [ 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-04T02:25:13.210Z INFO 72 --- [ 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-04T02:25:13.221Z INFO 72 --- [ 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-04T02:25:13.232Z INFO 72 --- [ 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-04T02:25:13.245Z INFO 72 --- [ 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-04T02:25:13.254Z INFO 72 --- [ 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-04T02:25:13.264Z INFO 72 --- [ 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-04T02:25:13.276Z INFO 72 --- [ 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-04T02:25:13.286Z INFO 72 --- [ 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-04T02:25:13.296Z INFO 72 --- [ 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-04T02:25:13.306Z INFO 72 --- [ 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-04T02:25:13.320Z INFO 72 --- [ 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-04T02:25:13.330Z INFO 72 --- [ 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.619 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-05-04T02:25:13.334Z INFO 72 --- [ 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-04T02:25:13.338Z INFO 72 --- [ 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-04T02:25:13.352Z INFO 72 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Starting PetServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:13.352Z INFO 72 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:13.405Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:13.425Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:13.435Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:13.443Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1af36602-7f67-4a2c-a5d1-a6768c43fb57;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:13.455Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:13.457Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:13.463Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:13.464Z WARN 72 --- [ 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-04T02:25:13.464Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2e52cbb4'] 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-04T02:25:13.571Z INFO 72 --- [ 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-04T02:25:13.591Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:13.697Z INFO 72 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.357 seconds (process running for 27.992) 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-04T02:25:13.791Z INFO 72 --- [ 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-04T02:25:13.877Z INFO 72 --- [ 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-04T02:25:13.920Z INFO 72 --- [ 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.592 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-05-04T02:25:13.927Z INFO 72 --- [ 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-04T02:25:13.931Z INFO 72 --- [ 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-04T02:25:13.944Z INFO 72 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Starting VeterinarianServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:13.944Z INFO 72 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:13.996Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:14.016Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:14.026Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:14.034Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1b7c7081-badb-4c81-9063-1bc24c464b11;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:14.047Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:14.048Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:14.055Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:14.055Z WARN 72 --- [ 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-04T02:25:14.056Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@28f0792e'] 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-04T02:25:14.162Z INFO 72 --- [ 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-04T02:25:14.181Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:14.287Z INFO 72 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.354 seconds (process running for 28.581) 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-04T02:25:14.342Z INFO 72 --- [ 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-04T02:25:14.398Z INFO 72 --- [ 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-04T02:25:14.451Z INFO 72 --- [ 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-04T02:25:14.529Z INFO 72 --- [ 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-04T02:25:14.585Z INFO 72 --- [ 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-04T02:25:14.641Z INFO 72 --- [ 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-04T02:25:14.695Z INFO 72 --- [ 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-04T02:25:14.752Z INFO 72 --- [ 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-04T02:25:14.806Z INFO 72 --- [ 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-04T02:25:14.874Z INFO 72 --- [ 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-04T02:25:14.937Z INFO 72 --- [ 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-04T02:25:14.989Z INFO 72 --- [ 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-04T02:25:15.044Z INFO 72 --- [ 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-04T02:25:15.097Z INFO 72 --- [ 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-04T02:25:15.171Z INFO 72 --- [ 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-04T02:25:15.225Z INFO 72 --- [ 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-04T02:25:15.276Z INFO 72 --- [ 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.353 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-05-04T02:25:15.281Z INFO 72 --- [ 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-04T02:25:15.285Z INFO 72 --- [ 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-04T02:25:15.297Z INFO 72 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 72 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-05-04T02:25:15.297Z INFO 72 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-05-04T02:25:15.349Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-05-04T02:25:15.369Z INFO 72 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces. 2026-05-04T02:25:15.379Z INFO 72 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-05-04T02:25:15.388Z INFO 72 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:83fdee5b-be4a-4421-92b0-6ad4169bac15;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-05-04T02:25:15.402Z INFO 72 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-05-04T02:25:15.403Z INFO 72 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-05-04T02:25:15.410Z INFO 72 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-05-04T02:25:15.411Z WARN 72 --- [ 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-04T02:25:15.411Z INFO 72 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@bf2e3ca'] 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-04T02:25:15.515Z INFO 72 --- [ 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-04T02:25:15.533Z INFO 72 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-05-04T02:25:15.636Z INFO 72 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.349 seconds (process running for 29.93) 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] 02:25:26.657 Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121'. [INFO] 02:25:26.666 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 02:25:26.666 Linux 6.17.0-20-generic (amd64) [INFO] 02:25:26.768 User cache: /root/.sonar/cache [INFO] 02:25:27.369 Communicating with SonarQube Server 25.3.0.104237 [INFO] 02:25:27.387 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 02:25:28.393 Load global settings [INFO] 02:25:28.471 Load global settings (done) | time=79ms [INFO] 02:25:28.486 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 02:25:28.498 Loading required plugins [INFO] 02:25:28.499 Load plugins index [INFO] 02:25:28.545 Load plugins index (done) | time=46ms [INFO] 02:25:28.545 Load/download plugins [INFO] 02:25:28.785 Load/download plugins (done) | time=240ms [INFO] 02:25:29.122 Process project properties [INFO] 02:25:29.137 Process project properties (done) | time=14ms [INFO] 02:25:29.147 Project key: co.edu.udistrital.mdp:MP_202610_G81_E2_Back [INFO] 02:25:29.148 Base dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back [INFO] 02:25:29.148 Working dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/sonar [INFO] 02:25:29.155 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' [INFO] 02:25:29.170 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' (done) | time=15ms [INFO] 02:25:29.200 Load quality profiles [INFO] 02:25:29.243 Load quality profiles (done) | time=43ms [INFO] 02:25:29.256 Auto-configuring with CI 'Jenkins' [INFO] 02:25:29.291 Load active rules [INFO] 02:25:29.552 Load active rules (done) | time=261ms [INFO] 02:25:29.559 Load analysis cache [INFO] 02:25:29.566 Load analysis cache (404) | time=7ms [INFO] 02:25:29.639 Preprocessing files... [INFO] 02:25:29.871 2 languages detected in 186 preprocessed files [INFO] 02:25:29.871 0 files ignored because of scm ignore settings [INFO] 02:25:29.874 Loading plugins for detected languages [INFO] 02:25:29.874 Load/download plugins [INFO] 02:25:30.188 Load/download plugins (done) | time=314ms [INFO] 02:25:30.304 Load project repositories [INFO] 02:25:30.428 Load project repositories (done) | time=124ms [INFO] 02:25:30.445 Indexing files... [INFO] 02:25:30.446 Project configuration: [INFO] 02:25:30.446 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**, **/config/**, **/MainApplication.java [INFO] 02:25:30.469 186 files indexed [INFO] 02:25:30.471 Quality profile for java: Sonar way MP [INFO] 02:25:30.471 Quality profile for xml: Sonar way [INFO] 02:25:30.471 ------------- Run sensors on module MP_202610_G81_E2_Back [INFO] 02:25:30.527 Load metrics repository [INFO] 02:25:30.543 Load metrics repository (done) | time=16ms [INFO] 02:25:31.351 Sensor JavaSensor [java] [INFO] 02:25:31.355 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 02:25:31.382 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 02:25:31.384 Using ECJ batch to parse 143 Main java source files with batch size 104 KB. [INFO] 02:25:31.701 Starting batch processing. [INFO] 02:25:32.267 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 02:25:36.781 100% analyzed [INFO] 02:25:36.781 Batch processing: Done. [INFO] 02:25:36.782 Did not optimize analysis for any files, performed a full analysis for all 143 files. [WARNING] 02:25:36.785 Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them. [WARNING] 02:25:36.785 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 02:25:36.786 Using ECJ batch to parse 42 Test java source files with batch size 104 KB. [INFO] 02:25:36.798 Starting batch processing. [INFO] 02:25:38.071 100% analyzed [INFO] 02:25:38.071 Batch processing: Done. [INFO] 02:25:38.072 Did not optimize analysis for any files, performed a full analysis for all 42 files. [INFO] 02:25:38.072 No "Generated" source files to scan. [INFO] 02:25:38.072 Sensor JavaSensor [java] (done) | time=6722ms [INFO] 02:25:38.072 Sensor SurefireSensor [java] [INFO] 02:25:38.074 parsing [/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/surefire-reports] [INFO] 02:25:38.232 Sensor SurefireSensor [java] (done) | time=160ms [INFO] 02:25:38.232 Sensor XML Sensor [xml] [INFO] 02:25:38.239 1 source file to be analyzed [INFO] 02:25:38.390 1/1 source file has been analyzed [INFO] 02:25:38.390 Sensor XML Sensor [xml] (done) | time=158ms [INFO] 02:25:38.390 Sensor JaCoCo XML Report Importer [jacoco] [INFO] 02:25:38.395 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 02:25:38.469 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=79ms [INFO] 02:25:38.469 Sensor Java Config Sensor [iac] [INFO] 02:25:38.491 0 source files to be analyzed [INFO] 02:25:38.491 0/0 source files have been analyzed [INFO] 02:25:38.492 Sensor Java Config Sensor [iac] (done) | time=23ms [INFO] 02:25:38.492 Sensor IaC Docker Sensor [iac] [INFO] 02:25:38.573 0 source files to be analyzed [INFO] 02:25:38.573 0/0 source files have been analyzed [INFO] 02:25:38.574 Sensor IaC Docker Sensor [iac] (done) | time=82ms [INFO] 02:25:38.574 Sensor TextAndSecretsSensor [text] [INFO] 02:25:38.574 Available processors: 4 [INFO] 02:25:38.574 Using 4 threads for analysis. [INFO] 02:25:38.973 Using git CLI to retrieve untracked files [WARNING] 02:25:38.977 Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions" [INFO] 02:25:39.010 186 source files to be analyzed [INFO] 02:25:39.308 186/186 source files have been analyzed [INFO] 02:25:39.309 Sensor TextAndSecretsSensor [text] (done) | time=735ms [INFO] 02:25:39.313 ------------- Run sensors on project [INFO] 02:25:39.467 Sensor Zero Coverage Sensor [INFO] 02:25:39.468 Sensor Zero Coverage Sensor (done) | time=1ms [INFO] 02:25:39.469 Sensor Java CPD Block Indexer [INFO] 02:25:39.612 Sensor Java CPD Block Indexer (done) | time=143ms [INFO] 02:25:39.612 ------------- Gather SCA dependencies on project [INFO] 02:25:39.631 SCM Publisher SCM provider for this project is: git [INFO] 02:25:39.633 SCM Publisher 46 source files to be analyzed [INFO] 02:25:40.074 SCM Publisher 46/46 source files have been analyzed (done) | time=439ms [INFO] 02:25:40.084 CPD Executor 43 files had no CPD blocks [INFO] 02:25:40.084 CPD Executor Calculating CPD for 100 files [INFO] 02:25:40.113 CPD Executor CPD calculation finished (done) | time=29ms [INFO] 02:25:40.118 SCM revision ID 'ec32038a2bf508125a768ead3cadd08e8322f2c0' [INFO] 02:25:40.269 Analysis report generated in 126ms, dir size=1.1 MB [INFO] 02:25:40.653 Analysis report compressed in 384ms, zip size=500.8 kB [INFO] 02:25:40.747 Analysis report uploaded in 94ms [INFO] 02:25:40.748 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] 02:25:40.748 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 02:25:40.748 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=50a5cff7-aba4-40d4-8c13-5c74310ef1dc [INFO] 02:25:40.799 Analysis total time: 11.965 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18.172 s [INFO] Finished at: 2026-05-04T02:25:40Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 4074403c04b658222c2bc2269100494a079abba21616cb530eade1d4d6ed0950 $ docker rm -f --volumes 4074403c04b658222c2bc2269100494a079abba21616cb530eade1d4d6ed0950 [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