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 0d46c386a2a1425fd78659c6d94404f4847367a0 (refs/remotes/origin/main) Commit message: "Merge pull request #16 from UDFJDC-ModelosProgramacion/develop" > 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 0d46c386a2a1425fd78659c6d94404f4847367a0 # timeout=10 > git rev-list --no-walk d6f2b681dd7413724e1d957398666e1b72a07ac8 # 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: Solucion de errores [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 0d46c386a2a1425fd78659c6d94404f4847367a0 (refs/remotes/origin/main) Commit message: "Merge pull request #16 from UDFJDC-ModelosProgramacion/develop" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv > 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 0d46c386a2a1425fd78659c6d94404f4847367a0 # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main 0d46c386a2a1425fd78659c6d94404f4847367a0 # timeout=10 [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 89d8b181c94a176a17fbbfe258fc364b1528c09a6d12c3b2cb78b7d8adf760d0 -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 ]--------------------------------- Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.7.1/asm-9.7.1.jar Progress (1): 0.9/126 kB Progress (1): 2.3/126 kB Progress (1): 3.6/126 kB Progress (1): 5.0/126 kB Progress (1): 6.4/126 kB Progress (1): 7.7/126 kB Progress (1): 9.1/126 kB Progress (1): 10/126 kB Progress (1): 12/126 kB Progress (1): 12/126 kB Progress (1): 14/126 kB Progress (1): 15/126 kB Progress (1): 16/126 kB Progress (1): 18/126 kB Progress (1): 19/126 kB Progress (1): 21/126 kB Progress (1): 22/126 kB Progress (1): 23/126 kB Progress (1): 25/126 kB Progress (1): 26/126 kB Progress (1): 27/126 kB Progress (1): 29/126 kB Progress (1): 30/126 kB Progress (1): 31/126 kB Progress (1): 33/126 kB Progress (1): 34/126 kB Progress (1): 36/126 kB Progress (1): 37/126 kB Progress (1): 38/126 kB Progress (1): 40/126 kB Progress (1): 41/126 kB Progress (1): 42/126 kB Progress (1): 44/126 kB Progress (1): 45/126 kB Progress (1): 47/126 kB Progress (1): 48/126 kB Progress (1): 49/126 kB Progress (1): 51/126 kB Progress (1): 52/126 kB Progress (1): 53/126 kB Progress (1): 55/126 kB Progress (1): 59/126 kB Progress (1): 63/126 kB Progress (1): 67/126 kB Progress (1): 72/126 kB Progress (1): 76/126 kB Progress (1): 80/126 kB Progress (1): 84/126 kB Progress (1): 89/126 kB Progress (1): 93/126 kB Progress (1): 97/126 kB Progress (1): 101/126 kB Progress (1): 105/126 kB Progress (1): 110/126 kB Progress (1): 114/126 kB Progress (1): 118/126 kB Progress (1): 122/126 kB Progress (1): 126 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.7.1/asm-9.7.1.jar (126 kB at 178 kB/s) [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 63 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 36 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.4: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:49:38.460 [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:49:38.823 [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.11) 2026-03-23T02:49:40.333Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:40.338Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:41.392Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:41.665Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 249 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:41.866Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:42.075Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4c89f228-a02b-486a-ae4d-9f83c1cd8c27;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:42.985Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:43.105Z INFO 94 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.42.Final 2026-03-23T02:49:43.178Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:43.761Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:43.852Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:43.892Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3c05fb12'] 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-03-23T02:49:46.308Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:46.447Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:46.957Z INFO 94 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T02:49:48.647Z INFO 94 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 9.594 seconds (process running for 12.513) 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: 11.52 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-03-23T02:49:49.384Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdopterEntityTest]: AdopterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.394Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdopterEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-03-23T02:49:49.455Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.PetEntityTest]: PetEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.463Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.PetEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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.061 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-03-23T02:49:49.519Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MessageEntityTest]: MessageEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.527Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MessageEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-03-23T02:49:49.601Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest]: ShelterMediaEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.609Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-03-23T02:49:49.640Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.NotificationEntityTest]: NotificationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.647Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.NotificationEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-03-23T02:49:49.686Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest]: VeterinarianEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.693Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: select s1_0.vet_id,s1_1.id,s1_1.description,s1_1.name from vet_speciality_relation s1_0 join vet_speciality_entity s1_1 on s1_1.id=s1_0.speciality_id where s1_0.vet_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.167 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-03-23T02:49:49.856Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest]: MedicalHistoryEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.863Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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-03-23T02:49:49.935Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterEntityTest]: ShelterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:49.942Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: select mi1_0.shelter_id,mi1_0.id,mi1_0.description,mi1_0.media_type,mi1_0.media_url from shelter_media_entity mi1_0 where mi1_0.shelter_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.064 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-03-23T02:49:50.001Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ReviewEntityTest]: ReviewEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:50.008Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ReviewEntityTest Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-03-23T02:49:50.043Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest]: TrialCohabitationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:50.050Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.070 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-03-23T02:49:50.117Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest]: AdoptionEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:50.130Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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 (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-03-23T02:49:50.173Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.MainApplicationTest]: MainApplicationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:50.186Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.MainApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:50.234Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Starting MainApplicationTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:50.234Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:50.902Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:50.926Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:51.270Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:51.272Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:51.280Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:51.282Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-03-23T02:49:51.298Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-03-23T02:49:51.301Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-03-23T02:49:51.309Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:51.314Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown 2026-03-23T02:49:51.495Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-03-23T02:49:51.547Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:52.904Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-23T02:49:52.923Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-03-23T02:49:53.004Z INFO 94 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 2.803 seconds (process running for 16.87) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:53.130Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:53.130Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:53.367Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:53.390Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:53.633Z INFO 94 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-03-23T02:49:53.656Z INFO 94 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-03-23T02:49:53.656Z INFO 94 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-03-23T02:49:53.716Z INFO 94 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-03-23T02:49:53.718Z INFO 94 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 586 ms 2026-03-23T02:49:53.869Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:53.871Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:53.879Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:53.880Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-03-23T02:49:53.881Z INFO 94 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-03-23T02:49:53.881Z INFO 94 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-03-23T02:49:53.882Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:53.882Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-2)'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown 2026-03-23T02:49:54.033Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-03-23T02:49:54.089Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:54.363Z INFO 94 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-23T02:49:54.370Z INFO 94 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-03-23T02:49:54.406Z INFO 94 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 41241 (http) with context path '/api' 2026-03-23T02:49:54.414Z INFO 94 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.305 seconds (process running for 18.281) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.260 s -- in co.edu.udistrital.mdp.pets.MainApplicationTest [INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Tests run: 3, 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.controllers.DefaultControllerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [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.010 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-03-23T02:49:54.456Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:54.482Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:54.508Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Starting AdopterServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:54.508Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:54.574Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:54.595Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:54.610Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:54.620Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9767acc7-e719-4679-8b0a-6a9e731e8f76;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:54.637Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:54.639Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:54.647Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:54.648Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:54.649Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@628e9b53'] 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-03-23T02:49:54.788Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:54.829Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:54.964Z INFO 94 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.476 seconds (process running for 18.831) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,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-03-23T02:49:55.114Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.157Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:49:55.243Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 7 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.272Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-03-23T02:49:55.275Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.307Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.338Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.366Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-03-23T02:49:55.371Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.416Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.444Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.468Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.499Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-03-23T02:49:55.503Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-03-23T02:49:55.507Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.531Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.556Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-03-23T02:49:55.585Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-03-23T02:49:55.589Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.619Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-03-23T02:49:55.620Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 44 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.652Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 45 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.679Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:49:55.702Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-03-23T02:49:55.703Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.252 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-23T02:49:55.708Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:55.714Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:55.731Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:55.732Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:55.799Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:55.823Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:55.840Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:55.851Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a6f161a0-1152-48e9-8d79-0d5e25e04156;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:55.868Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:55.870Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:55.878Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:55.880Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:55.880Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4f227589'] 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-03-23T02:49:56.025Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:56.061Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:56.209Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.492 seconds (process running for 20.075) 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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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.686 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-23T02:49:56.398Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:56.404Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:56.420Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:56.420Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:56.478Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:56.499Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:56.511Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:56.521Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:00dd3a89-6e05-44da-8e63-df91d92f925a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:56.536Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:56.537Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:56.546Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:56.547Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:56.548Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@12260e08'] 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-03-23T02:49:56.664Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:56.695Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:56.818Z INFO 94 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.411 seconds (process running for 20.684) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_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-03-23T02:49:56.845Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:56.869Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:56.896Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-03-23T02:49:56.897Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 11 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:56.920Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:56.958Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:56.980Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.004Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.029Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.052Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-03-23T02:49:57.052Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 27 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.074Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,me1_0.receiver_id,me1_0.sender_id,me1_0.sent_at from message_entity me1_0 where me1_0.active Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.103Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.155Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-03-23T02:49:57.156Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.180Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-03-23T02:49:57.180Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de actualizar el mensaje con id = 40 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.203Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:49:57.226Z INFO 94 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.832 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-03-23T02:49:57.233Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.SpecialityServiceTest]: SpecialityServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:57.240Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.SpecialityServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:57.258Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Starting SpecialityServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:57.258Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:57.340Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:57.361Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:57.373Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:57.383Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b28bb799-09c7-4a76-a7e1-4a04ca101ee8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:57.401Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:57.403Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:57.411Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:57.412Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:57.413Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@202320b4'] 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-03-23T02:49:57.527Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:57.555Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:57.676Z INFO 94 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.434 seconds (process running for 21.542) 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-03-23T02:49:57.737Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:57.811Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:57.861Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:57.911Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: null Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:57.968Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 13 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.029Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.083Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Especialid Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name) like upper(?) escape '\' Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.137Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 23 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.197Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 26 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.248Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 30 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.298Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 32 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.355Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 35 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.405Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.463Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.512Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:49:58.575Z INFO 94 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.347 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-03-23T02:49:58.580Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest]: ShelterMediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:58.585Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:58.606Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:58.606Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:58.660Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:58.678Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:58.690Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:58.699Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d4833130-5884-4950-ab13-132235e18849;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:58.712Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:58.713Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:58.720Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:58.721Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:58.721Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@61ff41c9'] 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-03-23T02:49:58.825Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:58.851Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:58.967Z INFO 94 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.38 seconds (process running for 22.833) 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-03-23T02:49:58.980Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 1 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.021Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 4 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.035Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.045Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.057Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 14 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.071Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.083Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.094Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 23 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.106Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.116Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.127Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 32 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.137Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter medias by shelter id: 34 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,sme1_0.shelter_id from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.152Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.162Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:49:59.172Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 44 [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.596 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-03-23T02:49:59.177Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:59.181Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:59.198Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:59.198Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:59.250Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:59.268Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:59.295Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:59.304Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:bf10c99b-c3f0-492b-a93c-721db87a199b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:59.319Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:59.321Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:59.328Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:59.329Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:59.330Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4cc80f73'] 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-03-23T02:49:59.439Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:49:59.470Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:49:59.603Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.42 seconds (process running for 23.469) 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,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.624Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 0 Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.646Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.665Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.684Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.702Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.721Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.738Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.755Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.773Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.787Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.803Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.820Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search all adoption requests Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.comments,are1_0.pet_id,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:49:59.841Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 38 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.667 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-23T02:49:59.846Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:49:59.850Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:49:59.864Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:49:59.864Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:49:59.915Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:49:59.931Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 18 JPA repository interfaces. 2026-03-23T02:49:59.942Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:49:59.950Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:91117ca5-15f5-44a0-b934-3dc4f33762fd;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:49:59.963Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:49:59.965Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:49:59.971Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:49:59.973Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:49:59.973Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@11063145'] 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-03-23T02:50:00.069Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:00.093Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:00.200Z INFO 94 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.348 seconds (process running for 24.067) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_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-03-23T02:50:00.223Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 1 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.243Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-03-23T02:50:00.243Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.263Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,ne1_0.user_id from notification_entity ne1_0 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.285Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.307Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.344Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-03-23T02:50:00.345Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 16 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.364Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.384Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-03-23T02:50:00.385Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.403Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-03-23T02:50:00.404Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.422Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.443Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.462Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-03-23T02:50:00.462Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.481Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.502Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 45 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.521Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:00.542Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-03-23T02:50:00.542Z INFO 94 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 52 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.701 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-23T02:50:00.547Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:00.552Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:00.565Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:00.565Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:00.615Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:00.632Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:00.642Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:00.651Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a23893a3-bb09-4a7b-8515-c3b83e308c18;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:00.663Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:00.665Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:00.672Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:00.673Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:00.673Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@24904631'] 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-03-23T02:50:00.765Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:00.787Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:00.895Z INFO 94 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.34 seconds (process running for 24.761) 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-03-23T02:50:00.919Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-03-23T02:50:00.919Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de creación de la reseña Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:00.959Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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-03-23T02:50:00.984Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.004Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar todas las reseñas Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.adoption_process_id,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.shelter_id from review_entity re1_0 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.028Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-03-23T02:50:01.028Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de actualizar la reseña con id = 14 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.048Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-03-23T02:50:01.049Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de borrar la reseña con id = 18 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.069Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 20 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.089Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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-03-23T02:50:01.110Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-03-23T02:50:01.111Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de consultar la reseña con id = 26 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.131Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 29 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:01.151Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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.609 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-23T02:50:01.157Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:01.161Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:01.175Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Starting AdoptionServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:01.175Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:01.224Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:01.240Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:01.252Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:01.262Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c828860a-e87d-4ef8-8390-3752262659b4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:01.274Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:01.275Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:01.282Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:01.283Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:01.283Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@390b2eab'] 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-03-23T02:50:01.371Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:01.391Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:01.499Z INFO 94 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.335 seconds (process running for 25.365) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.507Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 0 Hibernate: select ae1_0.id,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.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.specific_needs,p1_0.status,p1_0.temperament,tc1_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,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.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.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,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,p3_0.name,p3_0.sex,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.size,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 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 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 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 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 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 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 s5_0 on s5_0.id=v3_0.shelter_id left join shelter_entity s6_0 on s6_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 (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.517Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-03-23T02:50:01.518Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de actualizar la adopción con id = 4 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.525Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-03-23T02:50:01.525Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de creación de la adopción Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.532Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 0 Hibernate: select ae1_0.id,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.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.specific_needs,p1_0.status,p1_0.temperament,tc1_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,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.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.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,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,p3_0.name,p3_0.sex,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.size,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 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 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 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 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 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 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 s5_0 on s5_0.id=v3_0.shelter_id left join shelter_entity s6_0 on s6_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 (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.540Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar todas las adopciones Hibernate: select ae1_0.id,ae1_0.contract_signed,ae1_0.official_date,ae1_0.pet_id,ae1_0.trial_cohabitation_id from adoption_entity ae1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,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-03-23T02:50:01.550Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 17 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.557Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-03-23T02:50:01.557Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de consultar la adopción con id = 20 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.563Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-03-23T02:50:01.564Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de borrar la adopción con id = 24 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:01.571Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 26 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.578Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:01.583Z INFO 94 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 0 Hibernate: select ae1_0.id,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.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.specific_needs,p1_0.status,p1_0.temperament,tc1_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,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.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.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,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,p3_0.name,p3_0.sex,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.size,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 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 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 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 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 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 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 s5_0 on s5_0.id=v3_0.shelter_id left join shelter_entity s6_0 on s6_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.431 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-23T02:50:01.589Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:01.593Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:01.611Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Starting ShelterServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:01.611Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:01.659Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:01.697Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 37 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:01.708Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:01.717Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cfbe7df0-191e-4edd-911e-aa95701d9017;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:01.729Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:01.730Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:01.738Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:01.739Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:01.740Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5c5027ac'] 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-03-23T02:50:01.826Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:01.847Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:01.948Z INFO 94 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.348 seconds (process running for 25.814) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:01.960Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 1 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:01.974Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-294418783232417 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,sex,shelter_id,size,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-03-23T02:50:01.988Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:01.999Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.009Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 14 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,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,sex,shelter_id,size,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-03-23T02:50:02.023Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.040Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.053Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.062Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Unknown Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.074Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 29 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.086Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching all shelters Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.097Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 35 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,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,sex,shelter_id,size,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-03-23T02:50:02.110Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.119Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 41 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.128Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.140Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.150Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 50 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.160Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.168Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.182Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:02.191Z INFO 94 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 63 [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.605 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-23T02:50:02.196Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:02.200Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:02.212Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Starting PetServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:02.212Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:02.261Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:02.276Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:02.286Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:02.294Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9c08e0ae-e066-471e-ae6c-22cd69064a73;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:02.306Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:02.308Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:02.314Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:02.315Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:02.315Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5061db61'] 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-03-23T02:50:02.401Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:02.420Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:02.523Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.321 seconds (process running for 26.389) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.sex,pe1_0.shelter_id,pe1_0.size,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:02.626Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.627Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.627Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.627Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.628Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.628Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.628Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.629Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.629Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.629Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.630Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:02.630Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:02.656Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:02.699Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:02.739Z INFO 94 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.549 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-23T02:50:02.746Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:02.751Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:02.763Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Starting VeterinarianServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:02.764Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:02.811Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:02.827Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:02.837Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:02.845Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e08e9d99-767d-417b-93f1-368966eb13e1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:02.857Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:02.858Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:02.864Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:02.865Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:02.865Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6a27c8ec'] 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-03-23T02:50:02.952Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:02.970Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:03.071Z INFO 94 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.317 seconds (process running for 26.937) 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-03-23T02:50:03.126Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 1 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.208Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.274Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 7 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:03.333Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 10 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.407Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.489Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.548Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by shelter: 19 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where s1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-03-23T02:50:03.614Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 22 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.670Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.722Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by speciality: 28 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join vet_speciality_relation s1_0 on ve1_0.id=s1_0.vet_id where s1_0.speciality_id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.783Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.895Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching all veterinarians Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:03.997Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 37 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:04.103Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:04.210Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:04.262Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:04.313Z INFO 94 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.571 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-03-23T02:50:04.318Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest]: VaccineEntryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:04.333Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:04.347Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:04.347Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:04.395Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:04.411Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:04.420Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:04.428Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6de2bda1-29b8-4546-bea3-c4e9e2af8f3c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:04.440Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:04.441Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:04.448Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:04.450Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:04.450Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@40b149c7'] 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-03-23T02:50:04.538Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:04.555Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:04.652Z INFO 94 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.317 seconds (process running for 28.519) 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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 where vee1_0.next_due_date<? [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.412 s -- in co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-23T02:50:04.731Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:04.735Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.UserServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:04.747Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Starting UserServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:04.747Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:04.792Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:04.807Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:04.816Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:04.824Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:05dd240e-ea15-4017-8109-81564ec6c492;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:04.835Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:04.836Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:04.843Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:04.844Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:04.844Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4cea50c6'] 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-03-23T02:50:04.924Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:04.941Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:05.035Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.298 seconds (process running for 28.902) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,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-03-23T02:50:05.056Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.073Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-03-23T02:50:05.074Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.089Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:05.108Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 10 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.126Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 13 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-03-23T02:50:05.130Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de actualizar el usuario con id = 13 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.149Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.165Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 19 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.181Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.197Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.215Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.231Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') 2026-03-23T02:50:05.237Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.256Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-03-23T02:50:05.259Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.278Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 41 2026-03-23T02:50:05.279Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 41 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.297Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.314Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 45 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.333Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:05.366Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 51 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:05.384Z INFO 94 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.658 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-23T02:50:05.390Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest]: TrialCohabitationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:05.394Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:05.406Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:05.407Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:05.452Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:05.466Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:05.475Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:05.482Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6fe95379-6b3b-4679-8a87-9e48476a3ad9;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:05.494Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:05.495Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:05.501Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:05.502Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:05.502Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1d35a792'] 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-03-23T02:50:05.581Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:05.598Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:05.689Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.293 seconds (process running for 29.556) 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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.704Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.717Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 0 Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.731Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.744Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 10 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.755Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search all trial cohabitations Hibernate: select tce1_0.id,tce1_1.adoption_request_id,tce1_1.creation_date,tce1_1.pet_id,tce1_1.id,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.770Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.782Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.795Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.807Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:05.820Z INFO 94 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.433 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest 2026-03-23T02:50:05.824Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest]: ReturnCaseServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:05.828Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:05.840Z INFO 94 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Starting ReturnCaseServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:05.840Z INFO 94 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:05.885Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:05.899Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:05.909Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:05.916Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:bf8e4204-cdac-4ef3-98f9-72f41aa4f496;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:05.927Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:05.928Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:05.934Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:05.935Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:05.936Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@10abd408'] 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-03-23T02:50:06.014Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:06.030Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:06.122Z INFO 94 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Started ReturnCaseServiceTest in 0.292 seconds (process running for 29.988) Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.129Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 1 2026-03-23T02:50:06.130Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de consultar el caso de devolución con id = 1 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.136Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.144Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 8 2026-03-23T02:50:06.145Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de borrar el caso de devolución con id = 8 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.150Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar todos los casos de devolución Hibernate: select rce1_0.id,rce1_0.adoption_process_id,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.157Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 13 2026-03-23T02:50:06.157Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de actualizar el caso de devolución con id = 13 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-03-23T02:50:06.164Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 16 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.169Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.175Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.181Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.189Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución 2026-03-23T02:50:06.189Z INFO 94 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de creación del caso de devolución Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.368 s -- in co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest 2026-03-23T02:50:06.193Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest]: AdoptionProcessServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:06.196Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:06.208Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Starting AdoptionProcessServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:06.208Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:06.253Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:06.268Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:06.278Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:06.285Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b508ab54-1ef8-4616-a2d4-bff9bbb5e248;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:06.297Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:06.298Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:06.304Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:06.305Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:06.305Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2cb8ef6d'] 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-03-23T02:50:06.383Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:06.399Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:06.489Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Started AdoptionProcessServiceTest in 0.291 seconds (process running for 30.355) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:06.505Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.518Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.529Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.541Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.553Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.565Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search all adoption processes Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ape1_0.adoption_request_id,ape1_0.creation_date,ape1_0.pet_id,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.580Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.593Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 23 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.605Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.619Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 0 Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.632Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:06.645Z INFO 94 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.456 s -- in co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-23T02:50:06.650Z INFO 94 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest]: MedicalHistoryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:06.654Z INFO 94 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:06.665Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 94 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:06.665Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:06.709Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:06.723Z INFO 94 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:06.732Z INFO 94 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:06.739Z INFO 94 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:932a5265-cc83-469d-a62e-9f1797abd769;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:06.750Z INFO 94 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:06.751Z INFO 94 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:06.758Z INFO 94 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:06.759Z WARN 94 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:06.759Z INFO 94 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5fb6d5e7'] 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-03-23T02:50:06.835Z INFO 94 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:06.850Z INFO 94 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:06.939Z INFO 94 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.284 seconds (process running for 30.805) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.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.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.482 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 280, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ MP_202610_G81_E2_Back --- [INFO] Building jar: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot:3.5.11:repackage (repackage) @ MP_202610_G81_E2_Back --- [INFO] Replacing main artifact /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar.original [INFO] [INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202610_G81_E2_Back --- [INFO] Loading execution data file /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/jacoco.exec [INFO] Analyzed bundle 'MP_202610_G81_E2_Back' with 27 classes [INFO] [INFO] --- install:3.1.4:install (default-install) @ MP_202610_G81_E2_Back --- [INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E2_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E2_Back/0.0.1-SNAPSHOT/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.pom [INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E2_Back/0.0.1-SNAPSHOT/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 40.718 s [INFO] Finished at: 2026-03-23T02:50:08Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 89d8b181c94a176a17fbbfe258fc364b1528c09a6d12c3b2cb78b7d8adf760d0 $ docker rm -f --volumes 89d8b181c94a176a17fbbfe258fc364b1528c09a6d12c3b2cb78b7d8adf760d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Testing) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave3 does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E2_Back -v /home/cecaduser/workspace/MP_202610_G81_E2_Back:/home/cecaduser/workspace/MP_202610_G81_E2_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat $ docker top 66f41ec0bed3fa5870a4537fa0601263c5301089230cbcd3a9079bc1cf9be118 -eo pid,comm [Pipeline] { [Pipeline] sh + mvn test [INFO] Scanning for projects... [INFO] [INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E2_Back >------------- [INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E2_Back --- [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E2_Back --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.14.1:compile (default-compile) @ MP_202610_G81_E2_Back --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E2_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E2_Back/src/test/resources [INFO] [INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E2_Back --- [INFO] Nothing to compile - all classes are up to date. [INFO] [INFO] --- surefire:3.5.4: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:50:16.140 [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:50:16.384 [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.11) 2026-03-23T02:50:17.244Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:17.248Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:17.852Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:18.000Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 126 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:18.113Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:18.263Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6c612c80-3cf4-41b9-9fc9-26347b67f7ce;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:18.941Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:19.039Z INFO 71 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.42.Final 2026-03-23T02:50:19.122Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:19.658Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:19.749Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:19.797Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3c05fb12'] 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-03-23T02:50:22.032Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:22.173Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:22.688Z INFO 71 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2026-03-23T02:50:24.394Z INFO 71 --- [ main] c.e.u.m.p.e.AdoptionRequestEntityTest : Started AdoptionRequestEntityTest in 7.857 seconds (process running for 9.966) 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.336 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest 2026-03-23T02:50:25.158Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdopterEntityTest]: AdopterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.167Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdopterEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.071 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest 2026-03-23T02:50:25.231Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.PetEntityTest]: PetEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.242Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.PetEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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.061 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest 2026-03-23T02:50:25.293Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MessageEntityTest]: MessageEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.305Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MessageEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.091 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest 2026-03-23T02:50:25.387Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest]: ShelterMediaEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.396Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest 2026-03-23T02:50:25.432Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.NotificationEntityTest]: NotificationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.441Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.NotificationEntityTest Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest 2026-03-23T02:50:25.488Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest]: VeterinarianEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.496Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: select s1_0.vet_id,s1_1.id,s1_1.description,s1_1.name from vet_speciality_relation s1_0 join vet_speciality_entity s1_1 on s1_1.id=s1_0.speciality_id where s1_0.vet_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.180 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest 2026-03-23T02:50:25.670Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest]: MedicalHistoryEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.679Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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-03-23T02:50:25.751Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterEntityTest]: ShelterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.758Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterEntityTest Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: select mi1_0.shelter_id,mi1_0.id,mi1_0.description,mi1_0.media_type,mi1_0.media_url from shelter_media_entity mi1_0 where mi1_0.shelter_id=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.063 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest 2026-03-23T02:50:25.815Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ReviewEntityTest]: ReviewEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.822Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ReviewEntityTest Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest 2026-03-23T02:50:25.858Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest]: TrialCohabitationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.868Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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.075 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest [INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest 2026-03-23T02:50:25.934Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest]: AdoptionEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.947Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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 (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest [INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest 2026-03-23T02:50:25.974Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.MainApplicationTest]: MainApplicationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:25.985Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.MainApplicationTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:26.033Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Starting MainApplicationTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:26.033Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:26.693Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:26.718Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:27.062Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:27.064Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:27.073Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:27.075Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2026-03-23T02:50:27.091Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA 2026-03-23T02:50:27.093Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2026-03-23T02:50:27.102Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:27.107Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown 2026-03-23T02:50:27.282Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-03-23T02:50:27.333Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:28.580Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-23T02:50:28.600Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-03-23T02:50:28.679Z INFO 71 --- [ main] c.e.u.mdp.pets.MainApplicationTest : Started MainApplicationTest in 2.68 seconds (process running for 14.251) . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:28.806Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Starting MainApplication using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:28.806Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:29.042Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:29.065Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:29.331Z INFO 71 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 0 (http) 2026-03-23T02:50:29.353Z INFO 71 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2026-03-23T02:50:29.354Z INFO 71 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.52] 2026-03-23T02:50:29.412Z INFO 71 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext 2026-03-23T02:50:29.414Z INFO 71 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 606 ms 2026-03-23T02:50:29.535Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:29.536Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:29.544Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:29.545Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Starting... 2026-03-23T02:50:29.546Z INFO 71 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA 2026-03-23T02:50:29.546Z INFO 71 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Start completed. 2026-03-23T02:50:29.547Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:29.547Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-2)'] Database driver: undefined/unknown Database version: 2.3.232 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown 2026-03-23T02:50:29.700Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2026-03-23T02:50:29.756Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:30.034Z INFO 71 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets' 2026-03-23T02:50:30.041Z INFO 71 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2026-03-23T02:50:30.077Z INFO 71 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 40137 (http) with context path '/api' 2026-03-23T02:50:30.085Z INFO 71 --- [ main] c.e.udistrital.mdp.pets.MainApplication : Started MainApplication in 1.3 seconds (process running for 15.657) [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.126 s -- in co.edu.udistrital.mdp.pets.MainApplicationTest [INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest [INFO] Running co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest [INFO] Running co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 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.008 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.005 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest 2026-03-23T02:50:30.127Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:30.154Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:30.172Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Starting AdopterServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:30.172Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:30.258Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:30.283Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:30.298Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:30.310Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b5d3f79f-c1f0-45bc-ae5e-1edeca116e91;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:30.329Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:30.331Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:30.339Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:30.341Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:30.341Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@628e9b53'] 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-03-23T02:50:30.549Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:30.590Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:30.735Z INFO 71 --- [ main] c.e.u.m.p.services.AdopterServiceTest : Started AdopterServiceTest in 0.579 seconds (process running for 16.307) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,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-03-23T02:50:30.867Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:30.918Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:31.036Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 7 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.073Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-03-23T02:50:31.076Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de creación del adoptante Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.116Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.157Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.195Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 20 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? 2026-03-23T02:50:31.200Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de actualizar el adoptante con id = 20 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.255Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.283Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.324Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar todos los adoptantes Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.392Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-03-23T02:50:31.400Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante 2026-03-23T02:50:31.408Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de creación del adoptante Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.464Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.526Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-03-23T02:50:31.563Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) 2026-03-23T02:50:31.566Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar adoptantes por filtros Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?)) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.599Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de borrar el adoptante con id = 44 2026-03-23T02:50:31.599Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de borrar el adoptante con id = 44 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.658Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de actualizar el adoptante con id = 45 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.706Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 0 Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:31.738Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Inicia proceso de consultar el adoptante con id = 51 2026-03-23T02:50:31.738Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdopterService : Termina proceso de consultar el adoptante con id = 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.618 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest 2026-03-23T02:50:31.768Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:31.774Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:31.792Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Starting MedicalEventServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:31.792Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:31.854Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:31.874Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:31.888Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:31.898Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:46bf9b53-ea13-42c9-841f-af4be54ff76a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:31.917Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:31.919Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:31.926Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:31.927Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:31.928Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4f227589'] 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-03-23T02:50:32.081Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:32.128Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:32.309Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalEventServiceTest : Started MedicalEventServiceTest in 0.533 seconds (process running for 17.881) 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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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.763 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest 2026-03-23T02:50:32.534Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:32.539Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:32.555Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Starting MessageServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:32.556Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:32.642Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:32.672Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 28 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:32.692Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:32.703Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6cb142a3-043b-44d6-8e21-07e47d650804;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:32.720Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:32.727Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:32.747Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:32.749Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:32.750Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@12260e08'] 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-03-23T02:50:32.890Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:32.930Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:33.097Z INFO 71 --- [ main] c.e.u.m.p.services.MessageServiceTest : Started MessageServiceTest in 0.555 seconds (process running for 18.669) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_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-03-23T02:50:33.139Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.166Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.207Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de borrar el mensaje con id = 11 2026-03-23T02:50:33.208Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de borrar el mensaje con id = 11 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.233Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.283Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.308Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.334Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.359Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 0 Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.385Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar el mensaje con id = 27 2026-03-23T02:50:33.385Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de consultar el mensaje con id = 27 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.416Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de consultar todos los mensajes Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,me1_0.receiver_id,me1_0.sender_id,me1_0.sent_at from message_entity me1_0 where me1_0.active Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.450Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.473Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje 2026-03-23T02:50:33.473Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de creación del mensaje Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.498Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de actualizar el mensaje con id = 40 2026-03-23T02:50:33.499Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Termina proceso de actualizar el mensaje con id = 40 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.523Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:33.550Z INFO 71 --- [ main] c.e.u.mdp.pets.services.MessageService : Inicia proceso de creación del mensaje [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.023 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest 2026-03-23T02:50:33.561Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.SpecialityServiceTest]: SpecialityServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:33.570Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.SpecialityServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:33.598Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Starting SpecialityServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:33.598Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:33.663Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:33.712Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:33.725Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:33.734Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6fa808d6-a7c1-4df0-b602-736635e2e47c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:33.749Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:33.750Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:33.772Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:33.773Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:33.773Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@202320b4'] 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-03-23T02:50:33.905Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:33.950Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:34.089Z INFO 71 --- [ main] c.e.u.m.p.s.SpecialityServiceTest : Started SpecialityServiceTest in 0.516 seconds (process running for 19.66) 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-03-23T02:50:34.164Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.250Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.301Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.357Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: null Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.453Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 13 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.539Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.594Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching specialities by name part: Especialid Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name) like upper(?) escape '\' Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.658Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 23 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.711Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 26 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.764Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Deleting speciality with id: 30 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.812Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 32 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.873Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 35 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.924Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Updating speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:34.990Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?) Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:35.060Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Searching speciality with id: 0 Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=? Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:35.128Z INFO 71 --- [ main] c.e.u.m.pets.services.SpecialityService : Creating speciality [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.575 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest 2026-03-23T02:50:35.135Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest]: ShelterMediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:35.141Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:35.169Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:35.170Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:35.234Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:35.256Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:35.272Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:35.281Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7264101a-8247-4faa-ae68-ae1c896fab3c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:35.311Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:35.312Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:35.320Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:35.321Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:35.322Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@61ff41c9'] 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-03-23T02:50:35.480Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:35.508Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:35.637Z INFO 71 --- [ main] c.e.u.m.p.s.ShelterMediaServiceTest : Started ShelterMediaServiceTest in 0.493 seconds (process running for 21.209) 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-03-23T02:50:35.653Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 1 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.699Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 4 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.714Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.727Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.740Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 14 Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=? Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.756Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.768Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.780Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Updating shelter media with id: 23 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.793Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.804Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.817Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 32 Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.829Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter medias by shelter id: 34 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,sme1_0.shelter_id from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.849Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Creating shelter media Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.861Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Searching shelter media with id: 0 Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=? Hibernate: delete from shelter_media_entity sme1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default) 2026-03-23T02:50:35.873Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterMediaService : Deleting shelter media with id: 44 [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.743 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest 2026-03-23T02:50:35.879Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:35.884Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:35.898Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:35.899Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:35.957Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:35.976Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:36.025Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:36.033Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:fe731976-de88-4955-abaa-ad0eaad9a650;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:36.050Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:36.052Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:36.060Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:36.061Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:36.062Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4cc80f73'] 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-03-23T02:50:36.200Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:36.255Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:36.436Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestServiceTest : Started AdoptionRequestServiceTest in 0.55 seconds (process running for 22.008) 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,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.460Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 0 Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.495Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.527Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Updating adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.557Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.578Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.596Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.616Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.637Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.657Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.679Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Create adoption request Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.703Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Delete adoption request Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.726Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search all adoption requests Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.comments,are1_0.pet_id,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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-03-23T02:50:36.752Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionRequestService : Search adoption request with id = 38 [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.878 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest 2026-03-23T02:50:36.757Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:36.768Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:36.791Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:36.791Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:36.853Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:36.873Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:36.886Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:36.896Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9f8e3213-1e64-4862-b22e-a90268db2f12;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:36.919Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:36.921Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:36.928Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:36.929Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:36.930Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@11063145'] 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-03-23T02:50:37.047Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:37.072Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:37.213Z INFO 71 --- [ main] c.e.u.m.p.s.NotificationServiceTest : Started NotificationServiceTest in 0.441 seconds (process running for 22.784) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_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-03-23T02:50:37.246Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 1 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.282Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 4 2026-03-23T02:50:37.282Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de actualizar la notificación con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.312Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar todas las notificaciones Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,ne1_0.user_id from notification_entity ne1_0 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.340Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de actualizar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.363Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.383Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 16 2026-03-23T02:50:37.383Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de consultar la notificación con id = 16 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.402Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.424Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-03-23T02:50:37.424Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.443Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-03-23T02:50:37.443Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.466Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.491Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.546Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación 2026-03-23T02:50:37.548Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de creación de la notificación Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.568Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de consultar la notificación con id = 0 Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.593Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 45 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.617Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de creación de la notificación Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:37.643Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Inicia proceso de borrar la notificación con id = 52 2026-03-23T02:50:37.643Z INFO 71 --- [ main] c.e.u.m.p.services.NotificationService : Termina proceso de borrar la notificación con id = 52 [INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.892 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest 2026-03-23T02:50:37.652Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:37.658Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:37.677Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:37.677Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:37.732Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:37.775Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 41 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:37.795Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:37.813Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:066c6465-d9f8-430d-aef9-e9f808b80f5b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:37.826Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:37.828Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:37.835Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:37.836Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:37.836Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@24904631'] 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-03-23T02:50:37.942Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:37.965Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:38.099Z INFO 71 --- [ main] c.e.u.m.pets.services.ReviewServiceTest : Started ReviewServiceTest in 0.439 seconds (process running for 23.671) 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-03-23T02:50:38.124Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña 2026-03-23T02:50:38.124Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de creación de la reseña Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.148Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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-03-23T02:50:38.175Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de creación de la reseña Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.204Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar todas las reseñas Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.adoption_process_id,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.shelter_id from review_entity re1_0 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.249Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 14 2026-03-23T02:50:38.249Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de actualizar la reseña con id = 14 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.272Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 18 2026-03-23T02:50:38.273Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de borrar la reseña con id = 18 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.296Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 20 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.322Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de actualizar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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-03-23T02:50:38.357Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de consultar la reseña con id = 26 2026-03-23T02:50:38.359Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Termina proceso de consultar la reseña con id = 26 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.383Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 29 Hibernate: delete from review_entity re1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,shelter_id,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:38.405Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ReviewService : Inicia proceso de borrar la reseña con id = 0 Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.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.759 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest 2026-03-23T02:50:38.414Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:38.421Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:38.434Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Starting AdoptionServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:38.434Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:38.554Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:38.570Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:38.580Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:38.589Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:9b279e0d-b7a1-498b-b6a1-113318ff3f99;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:38.601Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:38.602Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:38.610Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:38.614Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:38.615Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@390b2eab'] 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-03-23T02:50:38.725Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:38.751Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:38.870Z INFO 71 --- [ main] c.e.u.m.p.services.AdoptionServiceTest : Started AdoptionServiceTest in 0.447 seconds (process running for 24.442) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.880Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 0 Hibernate: select ae1_0.id,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.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.specific_needs,p1_0.status,p1_0.temperament,tc1_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,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.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.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,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,p3_0.name,p3_0.sex,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.size,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 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 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 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 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 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 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 s5_0 on s5_0.id=v3_0.shelter_id left join shelter_entity s6_0 on s6_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 (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.889Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de actualizar la adopción con id = 4 2026-03-23T02:50:38.890Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de actualizar la adopción con id = 4 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.897Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción 2026-03-23T02:50:38.897Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de creación de la adopción Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.903Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 0 Hibernate: select ae1_0.id,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.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.specific_needs,p1_0.status,p1_0.temperament,tc1_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,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.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.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,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,p3_0.name,p3_0.sex,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.size,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 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 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 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 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 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 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 s5_0 on s5_0.id=v3_0.shelter_id left join shelter_entity s6_0 on s6_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 (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.911Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar todas las adopciones Hibernate: select ae1_0.id,ae1_0.contract_signed,ae1_0.official_date,ae1_0.pet_id,ae1_0.trial_cohabitation_id from adoption_entity ae1_0 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,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-03-23T02:50:38.921Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 17 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.927Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de consultar la adopción con id = 20 2026-03-23T02:50:38.928Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de consultar la adopción con id = 20 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.933Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 24 2026-03-23T02:50:38.934Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Termina proceso de borrar la adopción con id = 24 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:38.944Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 26 Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.951Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de creación de la adopción Hibernate: delete from adoption_entity ae1_0 Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) Hibernate: insert into adoption_entity (contract_signed,official_date,pet_id,trial_cohabitation_id,id) values (?,?,?,?,default) 2026-03-23T02:50:38.959Z INFO 71 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Inicia proceso de borrar la adopción con id = 0 Hibernate: select ae1_0.id,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.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.specific_needs,p1_0.status,p1_0.temperament,tc1_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,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.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.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,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,p3_0.name,p3_0.sex,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.size,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 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 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 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 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 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 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 s5_0 on s5_0.id=v3_0.shelter_id left join shelter_entity s6_0 on s6_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.554 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest 2026-03-23T02:50:38.968Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:38.974Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:38.988Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Starting ShelterServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:38.988Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:39.040Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:39.057Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:39.067Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:39.079Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8057ca1d-027f-42e9-be9f-40990a22345d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:39.094Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:39.096Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:39.104Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:39.105Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:39.105Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1c9224c5'] 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-03-23T02:50:39.197Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:39.217Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:39.324Z INFO 71 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.348 seconds (process running for 24.895) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.337Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 1 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.352Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Shelter-0-294456161055941 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,sex,shelter_id,size,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-03-23T02:50:39.373Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.385Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.396Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 14 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,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,sex,shelter_id,size,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-03-23T02:50:39.410Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.430Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.445Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 0 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.455Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelters with name: Unknown Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.470Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 29 Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.482Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching all shelters Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.495Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 35 Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,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,sex,shelter_id,size,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-03-23T02:50:39.509Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.519Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 41 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.530Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.544Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.566Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 50 Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.579Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.591Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=? Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=? Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.611Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,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-03-23T02:50:39.621Z INFO 71 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 63 [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.656 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest 2026-03-23T02:50:39.627Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:39.631Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:39.646Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Starting PetServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:39.646Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:39.715Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:39.738Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:39.749Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:39.757Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:555b6ada-cc8b-4d0c-828a-70ea2d38bc3a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:39.770Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:39.772Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:39.778Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:39.779Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:39.780Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1c694037'] 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-03-23T02:50:39.905Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:39.925Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:40.062Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.429 seconds (process running for 25.634) Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.sex,pe1_0.shelter_id,pe1_0.size,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:40.171Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.172Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.172Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.173Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.173Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.174Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.174Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.174Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.175Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.175Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.175Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet 2026-03-23T02:50:40.176Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:40.262Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: delete from pet_entity pe1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:40.325Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,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-03-23T02:50:40.373Z INFO 71 --- [ main] c.e.u.mdp.pets.services.PetService : Creating pet Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=? [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.756 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest 2026-03-23T02:50:40.382Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:40.386Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:40.399Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Starting VeterinarianServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:40.399Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:40.447Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:40.464Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:40.476Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:40.484Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:03f9921a-219b-4f73-8fcd-21bd44a73da8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:40.499Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:40.500Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:40.507Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:40.508Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:40.508Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@24509f16'] 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-03-23T02:50:40.601Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:40.627Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:40.735Z INFO 71 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.347 seconds (process running for 26.307) 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-03-23T02:50:40.791Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 1 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:40.846Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:40.924Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 7 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:40.981Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 10 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.043Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.096Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.151Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by shelter: 19 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where s1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) 2026-03-23T02:50:41.227Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 22 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.285Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.337Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching veterinarians by speciality: 28 Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join vet_speciality_relation s1_0 on ve1_0.id=s1_0.vet_id where s1_0.speciality_id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.399Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.451Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Searching all veterinarians Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.525Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 37 Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.578Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.643Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Creating veterinarian Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.696Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Updating veterinarian with id: 0 Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_event_entity mee1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from vet_speciality_entity vse1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) 2026-03-23T02:50:41.748Z INFO 71 --- [ main] c.e.u.m.p.services.VeterinarianService : Deleting veterinarian with id: 51 [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.370 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest 2026-03-23T02:50:41.754Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest]: VaccineEntryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:41.758Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:41.772Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:41.772Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:41.819Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:41.835Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:41.844Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:41.853Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:8c409948-6307-40f4-b052-5b409901d1e0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:41.865Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:41.866Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:41.885Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:41.886Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:41.887Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2517b15'] 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-03-23T02:50:41.975Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:41.994Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:42.114Z INFO 71 --- [ main] c.e.u.m.p.s.VaccineEntryServiceTest : Started VaccineEntryServiceTest in 0.354 seconds (process running for 27.686) 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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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.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.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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default) Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 where vee1_0.next_due_date<? [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.462 s -- in co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest 2026-03-23T02:50:42.220Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:42.227Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.UserServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:42.247Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Starting UserServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:42.249Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:42.302Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:42.317Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:42.327Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:42.335Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:06c5a400-4ef4-49b6-940b-2959ff4a945a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:42.347Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:42.348Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:42.354Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:42.356Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:42.356Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@335a7bfc'] 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-03-23T02:50:42.474Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:42.514Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:42.654Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserServiceTest : Started UserServiceTest in 0.425 seconds (process running for 28.226) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,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-03-23T02:50:42.676Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.694Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 4 2026-03-23T02:50:42.695Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de consultar el usuario con id = 4 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.716Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar todos los usuarios Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:42.737Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 10 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.756Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 13 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-03-23T02:50:42.759Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de actualizar el usuario con id = 13 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.781Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default) 2026-03-23T02:50:42.802Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 19 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.819Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.837Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.855Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.873Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') 2026-03-23T02:50:42.879Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de consultar usuarios por filtros Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '') Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.898Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? 2026-03-23T02:50:42.902Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de creación del usuario Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.921Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 41 2026-03-23T02:50:42.922Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Termina proceso de borrar el usuario con id = 41 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.964Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:42.982Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de actualizar el usuario con id = 45 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:43.001Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 0 Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=? Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default) 2026-03-23T02:50:43.018Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de borrar el usuario con id = 51 Hibernate: delete from message_entity me1_0 Hibernate: delete from notification_entity ne1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) 2026-03-23T02:50:43.036Z INFO 71 --- [ main] c.e.u.mdp.pets.services.UserService : Inicia proceso de creación del usuario Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=? [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.823 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest 2026-03-23T02:50:43.043Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest]: TrialCohabitationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:43.047Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:43.059Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:43.060Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:43.107Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:43.122Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:43.131Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:43.139Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6a7fef87-0e40-424f-8dda-15ac0afd420b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:43.151Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:43.152Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:43.158Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:43.159Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:43.159Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@406dbdc'] 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-03-23T02:50:43.269Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:43.292Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:43.416Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.367 seconds (process running for 28.988) 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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.452Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.468Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 0 Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.484Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Delete trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.498Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search trial cohabitation with id = 10 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.511Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Search all trial cohabitations Hibernate: select tce1_0.id,tce1_1.adoption_request_id,tce1_1.creation_date,tce1_1.pet_id,tce1_1.id,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.528Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.543Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.574Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.588Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Updating trial cohabitation Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:43.602Z INFO 71 --- [ main] c.e.u.m.p.s.TrialCohabitationService : Create trial cohabitation [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.562 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest 2026-03-23T02:50:43.606Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest]: ReturnCaseServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:43.610Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:43.625Z INFO 71 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Starting ReturnCaseServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:43.625Z INFO 71 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:43.793Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:43.832Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 36 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:43.850Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:43.859Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7855aa28-1a1b-4720-b404-cae5270a553b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:43.873Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:43.875Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:43.882Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:43.883Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:43.884Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@794bb6d5'] 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-03-23T02:50:44.019Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:44.038Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:44.140Z INFO 71 --- [ main] c.e.u.m.p.s.ReturnCaseServiceTest : Started ReturnCaseServiceTest in 0.528 seconds (process running for 29.712) Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.152Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 1 2026-03-23T02:50:44.153Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de consultar el caso de devolución con id = 1 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.160Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.169Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 8 2026-03-23T02:50:44.169Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de borrar el caso de devolución con id = 8 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.175Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar todos los casos de devolución Hibernate: select rce1_0.id,rce1_0.adoption_process_id,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.183Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 13 2026-03-23T02:50:44.183Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de actualizar el caso de devolución con id = 13 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) 2026-03-23T02:50:44.192Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de borrar el caso de devolución con id = 16 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.202Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.213Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de actualizar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.220Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de consultar el caso de devolución con id = 0 Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.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.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.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=? Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.228Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Inicia proceso de creación del caso de devolución 2026-03-23T02:50:44.228Z INFO 71 --- [ main] c.e.u.m.pets.services.ReturnCaseService : Termina proceso de creación del caso de devolución Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.625 s -- in co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest 2026-03-23T02:50:44.233Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest]: AdoptionProcessServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:44.237Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:44.249Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Starting AdoptionProcessServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:44.249Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:44.295Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:44.310Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:44.319Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:44.327Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:f92ba315-58b4-4549-be5e-2c35de6bcf83;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:44.338Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:44.340Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:44.346Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:44.347Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:44.347Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5ac49995'] 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-03-23T02:50:44.449Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:44.484Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:44.611Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessServiceTest : Started AdoptionProcessServiceTest in 0.372 seconds (process running for 30.182) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default) 2026-03-23T02:50:44.632Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.646Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.661Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.676Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.690Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.703Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search all adoption processes Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ape1_0.adoption_request_id,ape1_0.creation_date,ape1_0.pet_id,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.722Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Delete adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.744Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 23 Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.759Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.774Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Search adoption process with id = 0 Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.801Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Create adoption process Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0 Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_) Hibernate: delete from HT_adoption_process_entity Hibernate: delete from trial_cohabitation_entity to_delete_ Hibernate: delete from adoption_process_entity ape1_0 Hibernate: delete from adoption_request_entity are1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0 Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_) Hibernate: delete from HT_adopter_entity Hibernate: delete from shelter_entity se1_0 Hibernate: delete from return_case_entity rce1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default) Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?) Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default) 2026-03-23T02:50:44.815Z INFO 71 --- [ main] c.e.u.m.p.s.AdoptionProcessService : Updating adoption process Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.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.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=? [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 s -- in co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest [INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest 2026-03-23T02:50:44.820Z INFO 71 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest]: MedicalHistoryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2026-03-23T02:50:44.826Z INFO 71 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.5.11) 2026-03-23T02:50:44.844Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back) 2026-03-23T02:50:44.845Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : No active profile set, falling back to 1 default profile: "default" 2026-03-23T02:50:44.899Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2026-03-23T02:50:44.913Z INFO 71 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 18 JPA repository interfaces. 2026-03-23T02:50:44.922Z INFO 71 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2026-03-23T02:50:44.930Z INFO 71 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:2d5a9ff6-353f-459f-b5b2-b6bc064aeb6b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2026-03-23T02:50:44.942Z INFO 71 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2026-03-23T02:50:44.943Z INFO 71 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2026-03-23T02:50:44.950Z INFO 71 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2026-03-23T02:50:44.951Z WARN 71 --- [ main] org.hibernate.orm.deprecation : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2026-03-23T02:50:44.952Z INFO 71 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5fb6d5e7'] 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-03-23T02:50:45.032Z INFO 71 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) Hibernate: drop table if exists adopter_entity cascade Hibernate: drop table if exists adoption_entity cascade Hibernate: drop table if exists adoption_process_entity cascade Hibernate: drop table if exists adoption_request_entity cascade Hibernate: drop table if exists medical_event_entity cascade Hibernate: drop table if exists medical_history_entity cascade Hibernate: drop table if exists message_entity cascade Hibernate: drop table if exists notification_entity cascade Hibernate: drop table if exists pet_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, id bigint generated by default as identity, pet_id bigint, trial_cohabitation_id bigint unique, 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 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 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), sex varchar(255), size varchar(255), specific_needs varchar(255), status varchar(255), temperament 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 FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_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 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 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 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-03-23T02:50:45.048Z INFO 71 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2026-03-23T02:50:45.139Z INFO 71 --- [ main] c.e.u.m.p.s.MedicalHistoryServiceTest : Started MedicalHistoryServiceTest in 0.311 seconds (process running for 30.711) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.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.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.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.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=? Hibernate: delete from medical_history_entity mhe1_0 Hibernate: delete from pet_entity pe1_0 Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0 Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_) Hibernate: delete from HT_veterinarian_entity Hibernate: delete from vet_speciality_relation to_delete_ Hibernate: delete from veterinarian_entity to_delete_ Hibernate: delete from adopter_entity to_delete_ Hibernate: delete from user_entity ue1_0 Hibernate: delete from shelter_entity se1_0 Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default) Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?) Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,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,sex,shelter_id,size,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default) [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 280, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 32.698 s [INFO] Finished at: 2026-03-23T02:50:45Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 66f41ec0bed3fa5870a4537fa0601263c5301089230cbcd3a9079bc1cf9be118 $ docker rm -f --volumes 66f41ec0bed3fa5870a4537fa0601263c5301089230cbcd3a9079bc1cf9be118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Static Analysis) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave3 does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202610_G81_E2_Back -v /home/cecaduser/workspace/MP_202610_G81_E2_Back:/home/cecaduser/workspace/MP_202610_G81_E2_Back:rw,z -v /home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:/home/cecaduser/workspace/MP_202610_G81_E2_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat $ docker top b79d9a89030d8d3c8d25974f58d5afc126bb5b2acf996cc3fc03e021b256d36e -eo pid,comm [Pipeline] { [Pipeline] sh + mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar [INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Progress (1): 3.1 kB Progress (2): 3.1 kB | 4.6 kB Progress (2): 3.1 kB | 9.7 kB Progress (2): 7.7 kB | 9.7 kB Progress (2): 12 kB | 9.7 kB Progress (2): 17 kB | 9.7 kB Progress (2): 20 kB | 9.7 kB Progress (2): 20 kB | 14 kB Progress (2): 21 kB | 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 24 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 31 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml Progress (1): 1.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.4 kB at 17 kB/s) [WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation [INFO] [INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E2_Back >------------- [INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202610_G81_E2_Back --- [WARNING] 02:50:51.312 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:50:51.321 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 02:50:51.321 Linux 6.17.0-14-generic (amd64) [INFO] 02:50:51.357 User cache: /root/.sonar/cache [INFO] 02:50:51.908 Communicating with SonarQube Server 25.3.0.104237 [INFO] 02:50:51.924 Default locale: "en_US", source code encoding: "UTF-8" [INFO] 02:50:52.727 Load global settings [INFO] 02:50:52.804 Load global settings (done) | time=78ms [INFO] 02:50:52.820 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO [INFO] 02:50:52.833 Loading required plugins [INFO] 02:50:52.833 Load plugins index [INFO] 02:50:52.880 Load plugins index (done) | time=47ms [INFO] 02:50:52.880 Load/download plugins [INFO] 02:50:53.191 Load/download plugins (done) | time=311ms [INFO] 02:50:53.518 Process project properties [INFO] 02:50:53.532 Process project properties (done) | time=14ms [INFO] 02:50:53.543 Project key: co.edu.udistrital.mdp:MP_202610_G81_E2_Back [INFO] 02:50:53.543 Base dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back [INFO] 02:50:53.543 Working dir: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/sonar [INFO] 02:50:53.551 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' [INFO] 02:50:53.566 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202610_G81_E2_Back' (done) | time=15ms [INFO] 02:50:53.595 Load quality profiles [INFO] 02:50:53.640 Load quality profiles (done) | time=45ms [INFO] 02:50:53.654 Auto-configuring with CI 'Jenkins' [INFO] 02:50:53.690 Load active rules [INFO] 02:50:53.961 Load active rules (done) | time=271ms [INFO] 02:50:53.967 Load analysis cache [INFO] 02:50:53.984 Load analysis cache (4.0 kB) | time=17ms [INFO] 02:50:54.052 Preprocessing files... [INFO] 02:50:54.231 2 languages detected in 100 preprocessed files [INFO] 02:50:54.231 0 files ignored because of scm ignore settings [INFO] 02:50:54.234 Loading plugins for detected languages [INFO] 02:50:54.234 Load/download plugins [INFO] 02:50:54.502 Load/download plugins (done) | time=268ms [INFO] 02:50:54.624 Load project repositories [INFO] 02:50:54.734 Load project repositories (done) | time=110ms [INFO] 02:50:54.753 Indexing files... [INFO] 02:50:54.753 Project configuration: [INFO] 02:50:54.754 Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**, **/config/**, **/MainApplication.java [INFO] 02:50:54.772 100 files indexed [INFO] 02:50:54.774 Quality profile for java: Sonar way MP [INFO] 02:50:54.774 Quality profile for xml: Sonar way [INFO] 02:50:54.774 ------------- Run sensors on module MP_202610_G81_E2_Back [INFO] 02:50:54.829 Load metrics repository [INFO] 02:50:54.844 Load metrics repository (done) | time=15ms [INFO] 02:50:55.639 Sensor JavaSensor [java] [INFO] 02:50:55.644 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false [INFO] 02:50:55.676 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] 02:50:55.677 Using ECJ batch to parse 63 Main java source files with batch size 104 KB. [INFO] 02:50:56.003 Starting batch processing. [INFO] 02:50:56.567 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 02:50:58.901 100% analyzed [INFO] 02:50:58.902 Batch processing: Done. [INFO] 02:50:58.902 Did not optimize analysis for any files, performed a full analysis for all 63 files. [WARNING] 02:50:58.905 Use of preview features have been detected during analysis. Enable DEBUG mode to see them. [INFO] 02:50:58.905 Using ECJ batch to parse 36 Test java source files with batch size 104 KB. [INFO] 02:50:58.922 Starting batch processing. [INFO] 02:51:00.235 100% analyzed [INFO] 02:51:00.236 Batch processing: Done. [INFO] 02:51:00.237 Did not optimize analysis for any files, performed a full analysis for all 36 files. [INFO] 02:51:00.237 No "Generated" source files to scan. [INFO] 02:51:00.237 Sensor JavaSensor [java] (done) | time=4598ms [INFO] 02:51:00.237 Sensor SurefireSensor [java] [INFO] 02:51:00.239 parsing [/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/surefire-reports] [INFO] 02:51:00.403 Sensor SurefireSensor [java] (done) | time=166ms [INFO] 02:51:00.403 Sensor XML Sensor [xml] [INFO] 02:51:00.410 1 source file to be analyzed [INFO] 02:51:00.562 1/1 source file has been analyzed [INFO] 02:51:00.562 Sensor XML Sensor [xml] (done) | time=159ms [INFO] 02:51:00.562 Sensor JaCoCo XML Report Importer [jacoco] [INFO] 02:51:00.567 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] 02:51:00.622 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=60ms [INFO] 02:51:00.623 Sensor Java Config Sensor [iac] [INFO] 02:51:00.643 0 source files to be analyzed [INFO] 02:51:00.643 0/0 source files have been analyzed [INFO] 02:51:00.643 Sensor Java Config Sensor [iac] (done) | time=20ms [INFO] 02:51:00.644 Sensor IaC Docker Sensor [iac] [INFO] 02:51:00.722 0 source files to be analyzed [INFO] 02:51:00.722 0/0 source files have been analyzed [INFO] 02:51:00.722 Sensor IaC Docker Sensor [iac] (done) | time=78ms [INFO] 02:51:00.723 Sensor TextAndSecretsSensor [text] [INFO] 02:51:00.723 Available processors: 4 [INFO] 02:51:00.723 Using 4 threads for analysis. [INFO] 02:51:01.102 Using git CLI to retrieve untracked files [WARNING] 02:51:01.106 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:51:01.123 100 source files to be analyzed [INFO] 02:51:01.292 100/100 source files have been analyzed [INFO] 02:51:01.292 Sensor TextAndSecretsSensor [text] (done) | time=569ms [INFO] 02:51:01.296 ------------- Run sensors on project [INFO] 02:51:01.442 Sensor Zero Coverage Sensor [INFO] 02:51:01.443 Sensor Zero Coverage Sensor (done) | time=1ms [INFO] 02:51:01.443 Sensor Java CPD Block Indexer [INFO] 02:51:01.515 Sensor Java CPD Block Indexer (done) | time=72ms [INFO] 02:51:01.516 ------------- Gather SCA dependencies on project [INFO] 02:51:01.530 SCM Publisher SCM provider for this project is: git [INFO] 02:51:01.531 SCM Publisher 37 source files to be analyzed [INFO] 02:51:02.248 SCM Publisher 37/37 source files have been analyzed (done) | time=714ms [INFO] 02:51:02.260 CPD Executor 24 files had no CPD blocks [INFO] 02:51:02.261 CPD Executor Calculating CPD for 39 files [INFO] 02:51:02.280 CPD Executor CPD calculation finished (done) | time=19ms [INFO] 02:51:02.285 SCM revision ID '0d46c386a2a1425fd78659c6d94404f4847367a0' [INFO] 02:51:02.410 Analysis report generated in 112ms, dir size=789.3 kB [INFO] 02:51:02.631 Analysis report compressed in 221ms, zip size=310.8 kB [INFO] 02:51:02.663 Analysis report uploaded in 32ms [INFO] 02:51:02.665 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:51:02.665 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] 02:51:02.665 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=be35f903-9ff2-43a1-8a83-e95376fff58d [INFO] 02:51:02.699 Analysis total time: 9.454 s [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.523 s [INFO] Finished at: 2026-03-23T02:51:02Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 b79d9a89030d8d3c8d25974f58d5afc126bb5b2acf996cc3fc03e021b256d36e $ docker rm -f --volumes b79d9a89030d8d3c8d25974f58d5afc126bb5b2acf996cc3fc03e021b256d36e [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